aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2024-06-06 23:32:48 +0300
committerDavid S. Miller <[email protected]>2024-06-10 13:18:08 +0100
commitc6ae073f5903f6c6439d0ac855836a4da5c0a701 (patch)
treeec391872380c1b3b0b5f0dc6b1d42277ae341232 /scripts/gdb/linux/modules.py
parentd029edefed39647c797c2710aedd9d31f84c069e (diff)
geneve: Fix incorrect inner network header offset when innerprotoinherit is set
When innerprotoinherit is set, the tunneled packets do not have an inner Ethernet header. Change 'maclen' to not always assume the header length is ETH_HLEN, as there might not be a MAC header. This resolves issues with drivers (e.g. mlx5, in mlx5e_tx_tunnel_accel()) who rely on the skb inner network header offset to be correct, and use it for TX offloads. Fixes: d8a6213d70ac ("geneve: fix header validation in geneve[6]_xmit_skb") Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions