netdev
[Top] [All Lists]

Re: [XFRM] Call dst_check() with appropriate cookie

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [XFRM] Call dst_check() with appropriate cookie
From: Kazunori Miyazawa <kazunori@xxxxxxxxxxxx>
Date: Tue, 24 May 2005 17:26:37 +0900
Cc: "YOSHIFUJI Hideaki / ????" <yoshfuji@xxxxxxxxxxxxxx>, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <E1DaTeW-00085B-00@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <E1DaTeW-00085B-00@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)
Hello,

Without our patch, the dst_check in xfrm_bundle_ok returns NULL
when it is IPv6 route, then xfrm_bundle_ok always fails.
xfrm_lookup calls xfrm_bundle_ok via stalbe_bundle so that
it goes to restart and recreate bundles.
But stale_bundle always fails. It results the infinite loop accordingly.

This bug only occurs on IPv6. IPv4 works correctly without the patch.

I can not show the evidence of the infinite loop
because the kernel freezes :-<


Herbert Xu wrote:
YOSHIFUJI Hideaki / ???? <yoshfuji@xxxxxxxxxxxxxx> wrote:

From: Kazunori Miyazawa <kazunori@xxxxxxxxxxxx>

[XFRM] Call dst_check() with appropriate cookie.

This fixes infinite loop issue with IPv6 tunnel mode.


Can someone please tell me where this infinite loop is?

Thanks,


--
Kazunori Miyazawa


<Prev in Thread] Current Thread [Next in Thread>