Re: [XFRM] Call dst_check() with appropriate cookie
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-05-24 08:34:19
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-05-24 08:34:19
On Tue, May 24, 2005 at 05:26:37PM +0900, Kazunori Miyazawa wrote:
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.
Yes this makes perfect sense. However, I'd still like to know why I have never seen it myself. Let me double-check my test setup. Anyway, I'm happy with the patch apart from the comments I gave elsewhere in this thread. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt