linux/drivers/net/ethernet
Guangbin Huang 071febc37e net: hns3: fix always enable rx vlan filter problem after selftest
[ Upstream commit 27bf4af69f ]

Currently, the rx vlan filter will always be disabled before selftest and
be enabled after selftest as the rx vlan filter feature is fixed on in
old device earlier than V3.

However, this feature is not fixed in some new devices and it can be
disabled by user. In this case, it is wrong if rx vlan filter is enabled
after selftest. So fix it.

Fixes: bcc26e8dc4 ("net: hns3: remove unused code in hns3_self_test()")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-06 15:55:58 +02:00
..
3com
8390
adaptec
aeroflex net: ethernet: aeroflex: fix UAF in greth_of_remove 2021-07-14 16:56:24 +02:00
agere
alacritech
allwinner
alteon
altera
amazon
amd pcnet32: Use pci_resource_len to validate PCI resource 2021-04-21 13:00:54 +02:00
apm xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' 2021-09-03 10:09:24 +02:00
apple
aquantia atlantic: Fix issue in the pm resume flow. 2021-09-30 10:11:03 +02:00
arc
atheros alx: Fix an error handling path in 'alx_probe()' 2021-06-23 14:42:44 +02:00
aurora
broadcom bnxt_en: Fix TX timeout when TX ring size is set to the smallest 2021-09-30 10:11:02 +02:00
brocade
cadence net: macb: fix use after free on rmmod 2021-09-30 10:11:05 +02:00
calxeda
cavium liquidio: Fix unintentional sign extension issue on left shift of u16 2021-07-28 14:35:37 +02:00
chelsio ethtool: Fix an error code in cxgb2.c 2021-09-22 12:28:02 +02:00
cirrus
cisco ethernet:enic: Fix a use after free bug in enic_hard_start_xmit 2021-05-19 10:13:06 +02:00
cortina
davicom net: davicom: Fix regulator not turned off on failed probe 2021-04-21 13:00:57 +02:00
dec tulip: windbond-840: Fix missing pci_disable_device() in probe and remove 2021-08-04 12:46:44 +02:00
dlink
emulex Revert "be2net: disable bh with spin_lock in be_process_mcc" 2021-07-14 16:56:29 +02:00
ezchip net: ethernet: ezchip: fix error handling 2021-07-14 16:56:24 +02:00
faraday net: ftgmac100: add missing error return code in ftgmac100_probe() 2021-07-14 16:56:16 +02:00
freescale net: enetc: fix the incorrect clearing of IF_MODE bits 2021-10-06 15:55:53 +02:00
fujitsu net: fujitsu: fix potential null-ptr-deref 2021-06-03 09:00:40 +02:00
google gve: fix the wrong AdminQ buffer overflow check 2021-09-15 09:50:32 +02:00
hisilicon net: hns3: fix always enable rx vlan filter problem after selftest 2021-10-06 15:55:58 +02:00
huawei
i825xx net: i825xx: Use absolute_pointer for memcpy from fixed memory location 2021-09-30 10:11:07 +02:00
ibm ibmvnic: check failover_pending in login response 2021-09-22 12:27:59 +02:00
intel ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup 2021-10-06 15:55:56 +02:00
marvell octeontx2-af: Add additional register check to rvu_poll_reg() 2021-09-22 12:28:01 +02:00
mediatek net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88 2021-06-03 09:00:50 +02:00
mellanox net/mlx4_en: Don't allow aRFS for encapsulated packets 2021-09-30 10:11:03 +02:00
micrel net: ks8851: fix link error 2021-10-06 15:55:56 +02:00
microchip
moxa net: moxa: fix UAF in moxart_mac_probe 2021-07-25 14:36:19 +02:00
mscc net: mscc: Fix non-GPL export of regmap APIs 2021-09-03 10:09:22 +02:00
myricom ethernet: myri10ge: Fix missing error code in myri10ge_probe() 2021-06-18 10:00:05 +02:00
natsemi net: natsemi: Fix missing pci_disable_device() in probe and remove 2021-08-12 13:22:06 +02:00
neterion net: vxge: fix use-after-free in vxge_device_unregister 2021-08-12 13:22:08 +02:00
netronome net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert 2021-09-22 12:27:56 +02:00
ni
nvidia
nxp
oki-semi net: pch_gbe: Use proper accessors to BE data in pch_ptp_match() 2021-07-19 09:44:37 +02:00
packetengines
pasemi
pensando ionic: cleanly release devlink instance 2021-09-15 09:50:33 +02:00
qlogic qed: rdma - don't wait for resources under hw error recovery flow 2021-09-30 10:11:03 +02:00
qualcomm net: qualcomm: fix QCA7000 checksum handling 2021-09-15 09:50:46 +02:00
rdc r6040: Restore MDIO clock frequency after MAC reset 2021-09-22 12:27:57 +02:00
realtek Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM" 2021-09-12 08:58:27 +02:00
renesas net: renesas: sh_eth: Fix freeing wrong tx descriptor 2021-09-22 12:28:06 +02:00
rocker
samsung
seeq
sfc sfc: ensure correct number of XDP queues 2021-07-28 14:35:48 +02:00
sgi net: sgi: ioc3-eth: check return value after calling platform_get_resource() 2021-07-19 09:44:49 +02:00
silan
sis sis900: Fix missing pci_disable_device() in probe and remove 2021-08-04 12:46:44 +02:00
smsc
socionext netsec: restore phy power state after controller reset 2021-03-30 14:31:53 +02:00
stmicro net: stmmac: allow CSR clock of 300MHz 2021-09-30 10:11:05 +02:00
sun NIU: fix incorrect error return, missed in previous revert 2021-08-04 12:46:41 +02:00
synopsys
tehuti net: tehuti: fix error return code in bdx_probe() 2021-03-30 14:31:48 +02:00
ti net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 2021-08-18 08:59:06 +02:00
toshiba
tundra
via
wiznet net: w5100: check return value after calling platform_get_resource() 2021-09-18 13:40:35 +02:00
xilinx net: ll_temac: Remove left-over debug message 2021-09-12 08:58:26 +02:00
xircom
xscale net: ethernet: ixp4xx: Set the DMA masks explicitly 2021-05-14 09:50:40 +02:00
dnet.c
dnet.h
ec_bhf.c net: ethernet: fix potential use-after-free in ec_bhf_remove 2021-06-23 14:42:47 +02:00
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c lantiq: net: fix duplicated skb in rx descriptor ring 2021-06-23 14:42:46 +02:00
Makefile