]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6] IPSEC: Support sending with Mobile IPv6 extension headers.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 02:29:47 +0000 (19:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:56 +0000 (15:06 -0700)
commitdab55c972e3e7d8efd80676f2cd7f76548cfc83a
treee4c477a1faff6faf7ae2812a921c06c4116f3731
parentfe13ed3fc1ce02d8f21e1beef792147d7354d7b9
[IPV6] IPSEC: Support sending with Mobile IPv6 extension headers.

Mobile IPv6 defines home address option as an option of destination
options header. It is placed before fragment header then
ip6_find_1stfragopt() is fixed to know about it.

Home address option also carries final source address of the flow,
then outbound AH calculation should take care of it like routing
header case.  Based on MIPL2 kernel patch.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ah6.c
net/ipv6/ip6_output.c