Files
linux/net
Matthias May b09ab9c92e ip6_tunnel: allow to inherit from VLAN encapsulated IP
The current code allows to inherit the TTL (hop_limit) from the
payload when skb->protocol is ETH_P_IP or ETH_P_IPV6.
However when the payload is VLAN encapsulated (e.g because the tunnel
is of type GRETAP), then this inheriting does not work, because the
visible skb->protocol is of type ETH_P_8021Q or ETH_P_8021AD.

Instead of skb->protocol, use skb_protocol().

Signed-off-by: Matthias May <matthias.may@westermo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-13 12:10:22 +01:00
..
2022-06-09 21:53:09 -07:00
2022-02-25 09:36:06 +01:00
2022-04-07 21:06:41 -07:00
2022-07-11 19:48:33 -07:00
2022-05-10 11:59:22 +02:00
2022-03-03 09:55:28 +00:00
2021-07-29 15:06:49 +01:00