summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTom Herbert2016-05-18 18:06:11 +0200
committerDavid S. Miller2016-05-21 00:03:16 +0200
commit4c64242a90a4932260d9ad32b12c745c466e2987 (patch)
treef847f686cdcedbc86ce2e2e0ba469f17ca96e3d0 /Makefile
parentnet: define gso types for IPx over IPv4 and IPv6 (diff)
downloadkernel-qcow2-linux-4c64242a90a4932260d9ad32b12c745c466e2987.tar.gz
kernel-qcow2-linux-4c64242a90a4932260d9ad32b12c745c466e2987.tar.xz
kernel-qcow2-linux-4c64242a90a4932260d9ad32b12c745c466e2987.zip
ipv6: Fix nexthdr for reinjection
In ip6_input_finish the nexthdr protocol is retrieved from the next header offset that is returned in the cb of the skb. This method does not work for UDP encapsulation that may not even have a concept of a nexthdr field (e.g. FOU). This patch checks for a final protocol (INET6_PROTO_FINAL) when a protocol handler returns > 0. If the protocol is not final then resubmission is performed on nhoff value. If the protocol is final then the nexthdr is taken to be the return value. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions