]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_gre: use actual protocol to select xmit
authorMatthias May <matthias.may@westermo.com>
Mon, 11 Jul 2022 09:17:21 +0000 (11:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 11:10:22 +0000 (12:10 +0100)
commit39c45ee5a03e74d4f133b2fa864b18da18650416
tree30f01dd40749b3ef69a0911972efd1bd7ef895da
parent2b3daf1e0c609a236f9ea451eb8d2d3be4e47759
ip6_gre: use actual protocol to select xmit

When the payload is a VLAN encapsulated IPv6/IPv6 frame, we can
skip the 802.1q/802.1ad ethertypes and jump to the actual protocol.
This way we treat IPv4/IPv6 frames as IP instead of as "other".

Signed-off-by: Matthias May <matthias.may@westermo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c