linux_dsm_epyc7002/drivers/net
Keita Suzuki 6c73bc9f28 i40e: Fix memory leak in i40e_probe
[ Upstream commit 58cab46c622d6324e47bd1c533693c94498e4172 ]

Struct i40e_veb is allocated in function i40e_setup_pf_switch, and
stored to an array field veb inside struct i40e_pf. However when
i40e_setup_misc_vector fails, this memory leaks.

Fix this by calling exit and teardown functions.

Signed-off-by: Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-17 17:06:25 +01:00
..
appletalk
arcnet
bonding
caif
can can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode 2021-03-17 17:06:11 +01:00
dsa net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10 2021-03-17 17:06:15 +01:00
ethernet i40e: Fix memory leak in i40e_probe 2021-03-17 17:06:25 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mdio
netdevsim netdevsim: init u64 stats for 32bit hardware 2021-03-17 17:06:15 +01:00
pcs
phy net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused 2021-03-17 17:06:17 +01:00
plip
ppp
slip
team
usb net: usb: qmi_wwan: allow qmimux add/del with master up 2021-03-17 17:06:15 +01:00
vmxnet3
wan net: lapbether: Remove netif_start_queue / netif_stop_queue 2021-03-17 17:06:15 +01:00
wimax
wireguard
wireless ath11k: fix AP mode for QCA6390 2021-03-17 17:06:22 +01:00
xen-netback xen-netback: respect gnttab_map_refs()'s return value 2021-03-07 12:34:15 +01:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig crypto: mips/poly1305 - enable for all MIPS processors 2021-03-17 17:06:10 +01:00
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 net: fix dev_ifsioc_locked() race condition 2021-03-07 12:34:07 +01:00
thunderbolt.c
tun.c net: fix dev_ifsioc_locked() race condition 2021-03-07 12:34:07 +01:00
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c