linux-stable/drivers/net
Zhang Changzhong 9b0fdadbe6 net: marvell: prestera: add missing unregister_netdev() in prestera_port_create()
[ Upstream commit 9a234a2a08 ]

If prestera_port_sfp_bind() fails, unregister_netdev() should be called
in error handling path.

Compile tested only.

Fixes: 52323ef754 ("net: marvell: prestera: add phylink support")
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/r/1669115432-36841-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-02 17:43:09 +01:00
..
appletalk
arcnet arcnet: fix potential memory leak in com20020_probe() 2022-12-02 17:43:08 +01:00
bonding bonding: fix ICMPv6 header handling when receiving IPv6 messages 2022-12-02 17:43:05 +01:00
caif
can can: dev: fix skb drop check 2022-11-16 10:04:12 +01:00
dsa net: dsa: sja1105: disallow C45 transactions on the BASE-TX MDIO bus 2022-12-02 17:43:04 +01:00
ethernet net: marvell: prestera: add missing unregister_netdev() in prestera_port_create() 2022-12-02 17:43:09 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan ipvlan: hold lower dev to avoid possible use-after-free 2022-12-02 17:43:04 +01:00
mctp mctp i2c: don't count unused / invalid keys for flow release 2022-11-26 09:27:34 +01:00
mdio
netdevsim netdevsim: Fix memory leak of nsim_dev->fa_cookie 2022-11-26 09:27:40 +01:00
pcs
phy net: phy: at803x: fix error return code in at803x_probe() 2022-12-02 17:43:06 +01:00
plip
ppp
slip
team
usb net/cdc_ncm: Fix multicast RX support for CDC NCM devices with ZLP 2022-12-02 17:43:08 +01:00
vmxnet3
vxlan
wan
wireguard
wireless wifi: ath11k: Fix QCN9074 firmware boot on x86 2022-12-02 17:43:00 +01:00
wwan net: wwan: iosm: use ACPI_FREE() but not kfree() in ipc_pcie_read_bios_cfg() 2022-12-02 17:43:07 +01:00
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: Fix invalid error code set 2022-12-02 17:43:05 +01:00
macvlan.c macvlan: enforce a consistent minimal mtu 2022-11-26 09:27:54 +01:00
macvtap.c
Makefile
mdio.c
mhi_net.c net: mhi: Fix memory leak in mhi_net_dellink() 2022-11-26 09:27:36 +01:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Fix error handling in tbnet_init() 2022-11-26 09:27:39 +01:00
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c