OpenCloudOS-Kernel/drivers/net/ethernet/chelsio/cxgb3
Zhengchao Shao d75aed1428 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
When failed to bind qsets in cxgb_up() for opening device, napi isn't
disabled. When open cxgb3 device next time, it will trigger a BUG_ON()
in napi_enable(). Compile tested only.

Fixes: 48c4b6dbb7 ("cxgb3 - fix port up/down error path")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109021451.121490-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-09 18:32:20 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adapter.h net:cxgb3: replace tasklets with works 2021-06-03 14:57:37 -07:00
ael1002.c chelsio: simplify the return expression of t3_ael2020_phy_prep() 2020-09-21 13:49:05 -07:00
aq100x.c
common.h pci-v5.16-changes 2021-11-06 14:36:12 -07:00
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cxgb3_main.c net: cxgb3_main: disable napi when bind qsets failed in cxgb_up() 2022-11-09 18:32:20 -08:00
cxgb3_offload.c net: cxgb3: Fix comment typo 2022-08-12 11:28:19 +01:00
cxgb3_offload.h
firmware_exports.h
l2t.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
l2t.h cxgb3/l2t: Fix undefined behaviour 2019-04-01 15:01:46 -07:00
mc5.c
regs.h
sge.c net: cxgb3: fix typos in kernel doc 2021-11-30 12:17:46 +00:00
sge_defs.h
t3_cpl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
t3_hw.c net: chelsio: cxgb3: check the return value of pci_find_capability() 2022-02-25 12:52:05 +00:00
t3cdev.h
version.h net/chelsio: Delete drive and module versions 2020-03-03 17:54:54 -08:00
vsc8211.c
xgmac.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00