[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <469BB50C.10203@trash.net>
Date: Mon, 16 Jul 2007 20:12:28 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Beschorner Daniel <Daniel.Beschorner@...ton.com>
CC: netdev@...r.kernel.org, Eric Dumazet <dada1@...mosbay.com>
Subject: Re: IPSec freeze
Beschorner Daniel wrote:
>>I managed to reproduce a crash with ipcomp, will try to fix it later.
>
>
> Yes, I can confirm this.
> After disabling IPComp the crashes went away.
The crash happens in xfrm_bundle_ok when walking the bundle upwards
following xfrm_dst->u.next. The loop should be stopped when
xfrm_dst->u.next == first (the topmost xfrm_dst), but it points to
NULL instead. I'm pretty sure the attached patch is responsible,
it breaks XFRM's assumption that dst->next and xfrm_dst->u.next are
the same pointer and xfrm_dst now shares the next pointer with
rcu_head.next in struct dst_entry.
Eric, could you look into this please?
View attachment "x" of type "text/plain" (1911 bytes)
Powered by blists - more mailing lists