[IPV6]: Move nextheader offset to the IP6CB
Move nextheader offset to the IP6CB to make it possible to pass a packet to ip6_input_finish multiple times and have it skip already parsed headers. As a nice side effect this gets rid of the manual hopopts skipping in ip6_input_finish. Signed-off-by:Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/ipv6.h 1 addition, 0 deletionsinclude/linux/ipv6.h
- include/net/protocol.h 1 addition, 1 deletioninclude/net/protocol.h
- include/net/xfrm.h 3 additions, 3 deletionsinclude/net/xfrm.h
- net/dccp/ipv6.c 1 addition, 1 deletionnet/dccp/ipv6.c
- net/ipv6/exthdrs.c 12 additions, 7 deletionsnet/ipv6/exthdrs.c
- net/ipv6/icmp.c 2 additions, 2 deletionsnet/ipv6/icmp.c
- net/ipv6/ip6_input.c 6 additions, 15 deletionsnet/ipv6/ip6_input.c
- net/ipv6/ip6_tunnel.c 1 addition, 1 deletionnet/ipv6/ip6_tunnel.c
- net/ipv6/reassembly.c 5 additions, 6 deletionsnet/ipv6/reassembly.c
- net/ipv6/tcp_ipv6.c 1 addition, 1 deletionnet/ipv6/tcp_ipv6.c
- net/ipv6/udp.c 1 addition, 1 deletionnet/ipv6/udp.c
- net/ipv6/xfrm6_input.c 4 additions, 4 deletionsnet/ipv6/xfrm6_input.c
- net/ipv6/xfrm6_tunnel.c 3 additions, 3 deletionsnet/ipv6/xfrm6_tunnel.c
- net/sctp/ipv6.c 1 addition, 1 deletionnet/sctp/ipv6.c
Loading
Please register or sign in to comment