-
- Downloads
[XFRM] STATE: Support non-fragment outbound transformation headers.
For originated outbound IPv6 packets which will fragment, ip6_append_data() should know length of extension headers before sending them and the length is carried by dst_entry. IPv6 IPsec headers fragment then transformation was designed to place all headers after fragment header. OTOH Mobile IPv6 extension headers do not fragment then it is a good idea to make dst_entry have non-fragment length to tell it to ip6_append_data(). 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>
Showing
- include/net/dst.h 1 addition, 0 deletionsinclude/net/dst.h
- include/net/xfrm.h 2 additions, 0 deletionsinclude/net/xfrm.h
- net/ipv4/xfrm4_policy.c 1 addition, 0 deletionsnet/ipv4/xfrm4_policy.c
- net/ipv6/ip6_output.c 1 addition, 1 deletionnet/ipv6/ip6_output.c
- net/ipv6/xfrm6_policy.c 22 additions, 2 deletionsnet/ipv6/xfrm6_policy.c
Please register or sign in to comment