diff options
author | 2025-05-29 14:44:06 +0200 | |
---|---|---|
committer | 2025-05-30 19:20:18 -0700 | |
commit | efdddc4484859082da6c7877ed144c8121c8ea55 (patch) | |
tree | e87cbb885e14f6c29ec930c4b32e3720f8f35c58 /scripts/lib/kdoc/kdoc_output.py | |
parent | Merge tag 'for-net-2025-05-30' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (diff) | |
download | wireguard-linux-efdddc4484859082da6c7877ed144c8121c8ea55.tar.xz wireguard-linux-efdddc4484859082da6c7877ed144c8121c8ea55.zip |
net: dsa: tag_brcm: legacy: fix pskb_may_pull length
BRCM_LEG_PORT_ID was incorrectly used for pskb_may_pull length.
The correct check is BRCM_LEG_TAG_LEN + VLAN_HLEN, or 10 bytes.
Fixes: 964dbf186eaa ("net: dsa: tag_brcm: add support for legacy tags")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20250529124406.2513779-1-noltari@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions