Re: Is this a bug in linux-2.6.12 ipsec code function xfrm4_rcv_encap ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux