ipv6: Add fragment reporting to ipv6_skip_exthdr().
authorJesse Gross <jesse@nicira.com>
Thu, 1 Dec 2011 01:05:51 +0000 (17:05 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 3 Dec 2011 17:35:10 +0000 (09:35 -0800)
commit75f2811c6460ccc59d83c66059943ce9c9f81a18
tree49373cf5f5b11358aeb587209ad270496f751609
parent396cf9430505cfba529a2f2a037d782719fa5844
ipv6: Add fragment reporting to ipv6_skip_exthdr().

While parsing through IPv6 extension headers, fragment headers are
skipped making them invisible to the caller.  This reports the
fragment offset of the last header in order to make it possible to
determine whether the packet is fragmented and, if so whether it is
a first or last fragment.

Signed-off-by: Jesse Gross <jesse@nicira.com>
17 files changed:
include/net/ipv6.h
net/bridge/br_multicast.c
net/bridge/netfilter/ebt_ip6.c
net/bridge/netfilter/ebt_log.c
net/ipv6/exthdrs_core.c
net/ipv6/icmp.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/netfilter/ip6t_REJECT.c
net/netfilter/ipset/ip_set_getport.c
net/netfilter/xt_AUDIT.c
net/netfilter/xt_TCPMSS.c
net/netfilter/xt_TCPOPTSTRIP.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_socket.c
security/lsm_audit.c
security/selinux/hooks.c