[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <469CE9E5.7040003@trash.net>
Date: Tue, 17 Jul 2007 18:10:13 +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
Patrick McHardy wrote:
> 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?
I fixed it myself. Daniel, can you please test this patch?
View attachment "x" of type "text/plain" (1544 bytes)
Powered by blists - more mailing lists