lkml.org 
[lkml]   [2005]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-07-23 03:58    [W:0.027 / U:36.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site