Netdev List
 help / color / mirror / Atom feed
From: Kazunori Miyazawa <kazunori@miyazawa.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "YOSHIFUJI Hideaki / ????" <yoshfuji@linux-ipv6.org>,
	davem@davemloft.net, netdev@oss.sgi.com
Subject: Re: [XFRM] Call dst_check() with appropriate cookie
Date: Tue, 24 May 2005 17:26:37 +0900	[thread overview]
Message-ID: <4292E53D.7030805@miyazawa.org> (raw)
In-Reply-To: <E1DaTeW-00085B-00@gondolin.me.apana.org.au>

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@linux-ipv6.org> wrote:
> 
>>From: Kazunori Miyazawa <kazunori@miyazawa.org>
>>
>>[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

  parent reply	other threads:[~2005-05-24  8:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24  3:49 [XFRM] Call dst_check() with appropriate cookie YOSHIFUJI Hideaki / 吉藤英明
2005-05-24  7:16 ` Herbert Xu
2005-05-24  7:30   ` YOSHIFUJI Hideaki / 吉藤英明
2005-05-24  8:11     ` Herbert Xu
2005-05-24  8:26   ` Kazunori Miyazawa [this message]
2005-05-24  8:34     ` Herbert Xu
2005-05-24 12:50       ` Herbert Xu
     [not found]     ` <20050524.174234.00553944.yoshfuji@linux-ipv6.org>
2005-05-24 12:54       ` Herbert Xu
2005-05-24  8:20 ` Herbert Xu
2005-05-24  8:49   ` YOSHIFUJI Hideaki / 吉藤英明
2005-05-24 11:59     ` Herbert Xu
2005-05-25 23:40       ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4292E53D.7030805@miyazawa.org \
    --to=kazunori@miyazawa.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@oss.sgi.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox