]> granicus.if.org Git - ipset/commit
ipv6: Add fragment reporting to ipv6_skip_exthdr().
authorJesse Gross <jesse@nicira.com>
Fri, 4 May 2012 14:55:03 +0000 (16:55 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 4 May 2012 14:55:03 +0000 (16:55 +0200)
commit02cb61dcb7a120b7a5f7a480fd2b43f49e28dafc
treeedf966badb4598c88e3f606e1c24751c01c1f6d6
parent39a0fae4682502c420818ec11ca6dbb745041c4b
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>
kernel/net/netfilter/ipset/ip_set_getport.c