Messages in this thread | | | Date | Sat, 23 Jul 2005 03:55:24 +0200 | From | Patrick McHardy <> | Subject | Re: Is this a bug in linux-2.6.12 ipsec code function xfrm4_rcv_encap ?? |
| |
k8 s wrote: > I AM SORRY FOR THE PREVIOUS MAIL. > I am correcting my previous mail. > Infact I see only One race(not three as was wrongly pointed out). > I commented out the section once again where the race might be. > > /******************************************************** > Race Here . The Check(x->props.mode) is without Lock. What if setkey > -F is done at the same time on another processor freeing what x points > to. > ********************************************************/ > >> if (x->props.mode) {
We hold a reference to the state, so it can't be freed. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |