linux/drivers/net
Pan Bian 6c19578d46 net: systemport: free dev before on error path
commit 0c630a66bf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 11:55:27 +01:00
..
appletalk
arcnet
bonding bonding: fix feature flag setting at init time 2020-12-08 11:26:08 -08:00
caif
can can: peak_usb: fix use after free bugs 2021-01-27 11:55:11 +01:00
dsa net: dsa: b53: fix an off by one in checking "vlan->vid" 2021-01-27 11:55:25 +01:00
ethernet net: systemport: free dev before on error path 2021-01-27 11:55:27 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa net: ipa: modem: add missing SET_NETDEV_DEV() for proper sysfs links 2021-01-23 16:03:59 +01:00
ipvlan
mdio
netdevsim netdevsim: Add debugfs toggle to reject BPF programs in verifier 2020-12-09 16:27:42 +01:00
pcs net: pcs-xpcs: depend on MDIO_BUS instead of selecting it 2020-10-16 16:54:11 -07:00
phy net: phy: smsc: fix clk error handling 2021-01-23 16:04:03 +01:00
plip
ppp
slip
team
usb rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request 2021-01-23 16:04:01 +01:00
vmxnet3
wan wan: ds26522: select CONFIG_BITREVERSE 2021-01-17 14:17:04 +01:00
wimax
wireguard
wireless ath11k: qmi: try to allocate a big block of DMA memory first 2021-01-19 18:27:24 +01:00
xen-netback xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path() 2020-12-30 11:54:26 +01:00
bareudp.c net: bareudp: add missing error handling for bareudp_link_config() 2021-01-17 14:16:55 +01:00
dummy.c
eql.c
geneve.c Revert "geneve: pull IP header before ECN decapsulation" 2020-12-09 14:40:07 -08:00
gtp.c gtp: fix an use-before-init in gtp_newlink() 2020-10-29 09:43:21 -07:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
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
tun.c tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS 2021-01-12 20:18:11 +01:00
veth.c
virtio_net.c virtio_net: Fix recursive call to cpus_read_lock() 2021-01-12 20:18:10 +01:00
vrf.c vrf: packets with lladdr src needs dst at input with orig_iif when needs strict 2020-12-05 13:46:07 -08:00
vsockmon.c
vxlan.c vxlan: fix error return code in __vxlan_dev_create() 2020-12-02 18:04:02 -08:00
xen-netfront.c