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:28 +02:00
2022-05-27 11:05:29 +02:00
2021-11-19 11:23:23 +00:00
2022-06-09 21:53:09 -07:00
2022-04-06 13:45:26 +01:00
2022-04-28 13:08:15 -07:00
2022-06-17 20:34:13 -07:00
2022-05-22 21:51:54 +01:00
2022-07-05 13:20:03 -07:00
2022-06-03 14:53:33 -07:00
2022-02-25 09:36:06 +01:00
2022-06-30 16:31:00 -07:00
2022-04-06 13:45:26 +01:00
2022-07-07 12:07:37 -07:00
2022-05-25 20:45:13 +02:00
2022-07-12 10:26:23 +02:00
2022-03-03 08:01:55 -08:00
2022-06-16 11:07:59 -07:00
2022-06-30 13:14:35 +02:00
2022-07-02 16:34:05 +01:00
2022-04-07 21:04:03 -07:00
2022-06-23 12:33:24 -07:00
2022-03-11 23:17:24 -08:00
2022-04-28 13:08:15 -07:00
2022-07-13 12:10:21 +01:00
2022-07-13 12:10:22 +01:00
2022-06-10 16:21:27 -07:00
2021-12-29 08:48:14 -08:00
2022-06-01 17:44:04 -07:00
2022-07-08 12:14:36 +01:00
2022-04-15 14:27:24 -07:00
2022-06-09 21:52:55 -07:00
2022-06-10 08:57:35 -07:00
2022-04-30 20:29:47 +02:00
2022-05-25 12:22:58 -07:00
2022-04-07 21:06:41 -07:00
2022-07-12 18:37:20 -07:00
2022-06-23 20:51:06 -07:00
2022-07-02 21:04:19 +02:00
2022-03-21 10:59:11 +00:00
2022-05-12 16:15:30 -07:00
2022-04-06 13:45:26 +01:00
2022-05-28 15:28:47 +01:00
2022-06-23 12:33:24 -07:00
2022-06-09 21:52:55 -07:00
2022-04-12 15:00:25 +02:00
2022-04-06 13:45:26 +01:00
2022-05-24 12:40:28 -03:00
2022-03-18 13:09:17 +02:00
2022-07-06 19:49:11 -07:00
2022-07-08 20:15:11 -07:00
2022-07-07 12:07:37 -07:00
2022-06-10 16:21:27 -07:00
2022-06-09 21:52:55 -07:00
2022-07-08 18:38:44 -07:00
2022-07-02 11:20:56 -07:00
2022-06-09 21:52:55 -07:00
2022-06-30 16:31:00 -07:00
2022-07-11 19:48:33 -07:00
2022-07-09 12:24:16 -07:00
2022-05-28 11:39:01 -07:00
2022-05-19 13:01:08 -07:00
2022-05-10 11:59:22 +02:00
2022-07-07 12:07:37 -07:00
2022-06-09 21:52:55 -07:00
2022-03-03 09:55:28 +00:00
2022-06-02 10:15:05 -07:00
2021-07-29 15:06:49 +01:00
2022-06-30 16:31:00 -07:00
2021-11-09 10:02:50 -08:00