]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: Fix VLANs null-pointer for 57710, 57711
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 15 Nov 2015 13:02:16 +0000 (15:02 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 12 May 2016 14:18:13 +0000 (07:18 -0700)
commit47750b47dadb682c4355a50b757b8eca1d44fd30
tree5b1126249ae6a5b06b26df15b97b79a5c90028ea
parent8399f932d6dedd0439d0be97df27bada9ff2b9e9
bnx2x: Fix VLANs null-pointer for 57710, 57711

Orabug: 23092424

Commit 05cc5a39ddb7 "bnx2x: add vlan filtering offload" introduced
a regression in regard for vlans for 57710, 57711 adapters -
Loading 8021q module on a machine with such an adapter would cause
a null pointer dereference, as the driver mistakenly publishes it
has capabilities for vlan CTAG filtering.

Reported-by: Otto Sabart <osabart@redhat.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ab6d7846cf80affc43b9d412fed5e25dfcf4f35d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c