summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2021-07-18 22:36:30 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-19 18:25:44 +0300
commit96bdd4b9ea7ef9a12db8fdd0ce90e37dffbd3703 (patch)
tree78214d7efdef84f539b889826228579801aa3f38 /include/linux
parent3958b1da725a477b4a222183d16a14d85445d4b6 (diff)
downloadlinux-96bdd4b9ea7ef9a12db8fdd0ce90e37dffbd3703.tar.xz
bnxt_en: Validate vlan protocol ID on RX packets
Only pass supported VLAN protocol IDs for stripped VLAN tags to the stack. The stack will hit WARN() if the protocol ID is unsupported. Existing firmware sets up the chip to strip 0x8100, 0x88a8, 0x9100. Only the 1st two protocols are supported by the kernel. Fixes: a196e96bb68f ("bnxt_en: clean up VLAN feature bit handling") Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions