linux-stable/drivers/net/ethernet/broadcom
Somnath Kotur c5d70dbc4d bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
[ Upstream commit 03400aaa69 ]

bnxt_ethtool_init() may have allocated some memory and we need to
call bnxt_ethtool_free() to properly unwind if bnxt_init_one()
fails.

Fixes: 7c38091814 ("bnxt_en: Refactor bnxt_init_one() and turn on TPA support on 57500 chips.")
Signed-off-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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-23 14:42:47 +02:00
..
bnx2x bnx2x: Fix missing error code in bnx2x_iov_init_one() 2021-06-16 12:01:37 +02:00
bnxt bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path 2021-06-23 14:42:47 +02:00
genet net: bcmgenet: Fix a resource leak in an error handling path in the probe functin 2020-12-30 11:53:57 +01:00
b44.c net: b44: fix error return code in b44_init_one() 2020-11-17 10:50:28 -08:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcmsysport.c net: systemport: free dev before on error path 2021-01-27 11:55:27 +01:00
bcmsysport.h net: systemport: Manage Wake-on-LAN clock 2020-09-03 15:06:03 -07:00
bgmac-bcma-mdio.c
bgmac-bcma.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bgmac-platform.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bgmac.c bgmac: configure MTU and add support for frames beyond 8192 byte size 2020-03-27 16:07:24 -07:00
bgmac.h bgmac: configure MTU and add support for frames beyond 8192 byte size 2020-03-27 16:07:24 -07:00
bnx2.c net: bnx2: Fix error return code in bnx2_init_board() 2021-06-03 09:00:48 +02:00
bnx2.h
bnx2_fw.h
cnic.c cnic: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cnic.h
cnic_defs.h
cnic_if.h
Kconfig net: broadcom CNIC: requires MMU 2020-12-01 11:44:02 -08:00
Makefile
sb1250-mac.c
tg3.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-03 18:50:48 -07:00
tg3.h tg3: Avoid the use of one-element array 2020-07-22 18:11:07 -07:00