diff options
author | Matthias May <matthias.may@westermo.com> | 2022-07-21 22:27:19 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-22 21:47:28 -0700 |
commit | 7074732c8faee201a245a6f983008a5789c0be33 (patch) | |
tree | c59c6b0708dccf2c83ca3fa8e703e69bbbd30a9b /Documentation/tools | |
parent | 7446b157fe9cf03023fe183b3961c243f480e560 (diff) |
ip_tunnels: allow VXLAN/GENEVE to inherit TOS/TTL from VLAN
The current code allows for VXLAN and GENEVE to inherit the TOS
respective the TTL when skb-protocol is ETH_P_IP or ETH_P_IPV6.
However when the payload is VLAN encapsulated, 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>
Link: https://lore.kernel.org/r/20220721202718.10092-1-matthias.may@westermo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/tools')
0 files changed, 0 insertions, 0 deletions