diff options
author | 2022-02-16 12:46:34 +0000 | |
---|---|---|
committer | 2022-02-17 09:32:06 -0800 | |
commit | 017b355bbdc6620fd8fe05fe297f553ce9d855ee (patch) | |
tree | 4b4960824087ee418c400f230acdcf4fe1b8224a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | vsock: remove vsock from connected table when connect is interrupted by a signal (diff) | |
download | wireguard-linux-017b355bbdc6620fd8fe05fe297f553ce9d855ee.tar.xz wireguard-linux-017b355bbdc6620fd8fe05fe297f553ce9d855ee.zip |
net: dsa: lan9303: handle hwaccel VLAN tags
Check for a hwaccel VLAN tag on rx and use it if present. Otherwise,
use __skb_vlan_pop() like the other tag parsers do. This fixes the case
where the VLAN tag has already been consumed by the master.
Fixes: a1292595e006 ("net: dsa: add new DSA switch driver for the SMSC-LAN9303")
Signed-off-by: Mans Rullgard <mans@mansr.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20220216124634.23123-1-mans@mansr.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions