]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Sat, 10 Feb 2007 05:22:16 +0000 (21:22 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Feb 2007 07:20:47 +0000 (23:20 -0800)
commit1a9fd543ed8cac6540dfc8da0c7ecdc4b7e62b82
treefeb2196ff29a5d78098047c546b2c0162b5cb659
parent19b912405a0cdf4ab0e40b84fe391fd805231369
[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch.

It seems to miss RO mode path by IPv6 over IPv4 IPsec tunnel patch
when it changed semantics to check the mode from
"xfrm[i]->props.mode != XFRM_MODE_TRANSPORT" to
"xfrm[i]->props.mode == XFRM_MODE_TUNNEL" before changing address.
It also makes two incline functions __xfrm6_bundle_addr_{remote,local}
are used by nobody.

This patch fixes it.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_policy.c