WSL2-Linux-Kernel/drivers/net/ethernet
Pan Bian 0c630a66bf net: systemport: free dev before on error path
On the error path, it should goto the error handling label to free
allocated memory rather than directly return.

Fixes: 31bc72d976 ("net: systemport: fetch and use clock resources")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210120044423.1704-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-20 09:07:15 -08:00
..
3com
8390
adaptec
aeroflex
agere ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
alacritech
allwinner net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function 2020-12-16 11:37:31 -08:00
alteon
altera
amazon net: ena: introduce ndo_xdp_xmit() function for XDP_REDIRECT 2020-12-09 15:26:40 -08:00
amd
apm
apple
aquantia atlantic: remove architecture depends 2020-12-28 15:04:25 -08:00
arc
atheros net: atheros: simplify the return expression of atl2_phy_setup_autoneg_adv() 2020-12-08 16:22:54 -08:00
aurora
broadcom net: systemport: free dev before on error path 2021-01-20 09:07:15 -08:00
brocade net: bna: remove trailing semicolon in macro definition 2020-12-04 17:41:49 -08:00
cadence net: macb: Correct usage of MACB_CAPS_CLK_HW_CHG flag 2021-01-04 13:28:09 -08:00
calxeda
cavium Networking updates for 5.11 2020-12-15 13:22:29 -08:00
chelsio cxgb4/chtls: Fix tid stuck due to wrong update of qid 2021-01-13 19:40:05 -08:00
cirrus
cisco net: cisco: enic: simplify the return vnic_cq_alloc() 2020-12-09 17:05:37 -08:00
cortina
davicom
dec
dlink
emulex net: emulex: benet: simplify the return expression of be_if_create() 2020-12-09 17:05:36 -08:00
ezchip
faraday Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-11 22:29:38 -08:00
freescale net: ethernet: fs_enet: Add missing MODULE_LICENSE 2021-01-05 16:56:35 -08:00
fujitsu
google gve: Add support for raw addressing in the tx path 2020-12-08 16:06:28 -08:00
hisilicon net: hns3: fix incorrect handling of sctp6 rss tuple 2021-01-05 16:46:41 -08:00
huawei net: hinic: simplify the return hinic_configure_max_qnum() 2020-12-09 17:05:37 -08:00
i825xx
ibm ibmvnic: fix: NULL pointer dereference. 2021-01-04 13:23:33 -08:00
intel i40e: fix potential NULL pointer dereferencing 2021-01-13 19:33:28 -08:00
marvell octeontx2-af: Fix missing check bugs in rvu_cgx.c 2021-01-15 11:36:47 -08:00
mediatek net: mtk_eth: simplify the mediatek code return expression 2020-12-14 17:51:26 -08:00
mellanox mlxsw: core: Increase critical threshold for ASIC thermal zone 2021-01-09 16:25:10 -08:00
micrel net: micrel: convert comma to semicolon 2020-12-09 16:23:08 -08:00
microchip lan743x: fix rx_napi_poll/interrupt ping-pong 2020-12-16 09:00:09 -08:00
moxa
mscc net: mscc: ocelot: Fix multicast to the CPU port 2021-01-20 08:59:28 -08:00
myricom
natsemi net/sonic: Fix some resource leaks in error handling paths 2021-01-05 15:59:20 -08:00
neterion net: vxget: clean up sparse warnings 2020-12-14 19:18:11 -08:00
netronome nfp: move indirect block cleanup to flower app stop callback 2020-12-17 10:57:57 -08:00
ni net: nixge: fix spelling mistake in Kconfig: "Instuments" -> "Instruments" 2020-12-17 10:54:31 -08:00
nvidia
nxp ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
oki-semi
packetengines
pasemi
pensando ionic: account for vlan tag len in rx buffer len 2020-12-21 17:32:14 -08:00
qlogic netxen_nic: fix MSI/MSI-x interrupts 2021-01-09 13:47:57 -08:00
qualcomm net: qualcomm: rmnet: Update rmnet device MTU based on real device 2020-12-10 13:30:26 -08:00
rdc
realtek r8169: work around power-saving bug on some chip versions 2021-01-04 13:39:21 -08:00
renesas sh_eth: Fix power down vs. is_opened flag ordering 2021-01-19 16:47:19 -08:00
rocker ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
samsung
seeq
sfc
sgi
silan
sis
smsc
socionext Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-12-04 07:48:12 -08:00
stmicro net: stmmac: fix taprio configuration when base_time is in the past 2021-01-14 10:49:42 -08:00
sun
synopsys
tehuti
ti net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered 2020-12-28 13:32:34 -08:00
toshiba
tundra
via
wiznet
xilinx Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-11 22:29:38 -08:00
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c net: ethernet: Fix memleak in ethoc_probe 2020-12-23 12:28:53 -08:00
fealnx.c
jme.c
jme.h
korina.c net: korina: fix return value 2020-12-16 15:01:07 -08:00
lantiq_etop.c
lantiq_xrx200.c