]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc85fd0c0380cf3486a395a8eb8b67a1555126498
tree49373cf5f5b11358aeb587209ad270496f751609
parent289e5cc69f6a56e9d69f3c73648996804e7fc2df
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