Thread (4 messages) flat view 4 messages, 3 authors, 2007-12-04

Re: [PATCH][IPv6][IPsec] fix the address family for xfrm_state_lookup in xfrm_input

From: David Miller <davem@davemloft.net>
Date: 2007-12-04 06:54:42

From: Kazunori MIYAZAWA <redacted>
Date: Tue, 04 Dec 2007 15:23:01 +0900
Herbert Xu wrote:
quoted
I'd prefer to put this in XFRM_SPI_SKB_CB instead because the xfrm
layer shouldn't really rely on dst->ops structures except on entry
and exit, like this:

[IPSEC]: Use the correct family for input state lookup

When merging the input paths of IPsec I accidentally left a hard-coded
AF_INET for the state lookup call.  This broke IPv6 obviously.  This
patch fixes by getting the input callers to specify the family through
skb->cb.

Credit goes to Kazunori Miyazawa for diagnosing this and providing an
initial patch.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Cheers,
It works fine.
Patch applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help