diff options
| author | Álvaro Fernández Rojas <[email protected]> | 2025-05-29 12:44:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-31 02:20:18 +0000 |
| commit | efdddc4484859082da6c7877ed144c8121c8ea55 (patch) | |
| tree | e87cbb885e14f6c29ec930c4b32e3720f8f35c58 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | Merge tag 'for-net-2025-05-30' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-efdddc4484859082da6c7877ed144c8121c8ea55.tar.gz kernel-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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
