linux/drivers/net/ethernet/intel
Keita Suzuki 58cab46c62 i40e: Fix memory leak in i40e_probe
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>
2021-02-18 10:03:54 -08:00
..
e1000 e1000: remove unused and incorrect code 2020-10-13 19:44:01 -07:00
e1000e e1000e: Export S0ix flags to ethtool 2020-12-23 15:18:34 -08:00
fm10k net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
i40e i40e: Fix memory leak in i40e_probe 2021-02-18 10:03:54 -08:00
iavf iavf: fix double-release of rtnl_lock 2020-12-17 14:12:55 -08:00
ice ice: Fix MSI-X vector fallback logic 2021-01-26 10:44:17 -08:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-11 22:29:38 -08:00
igbvf igbvf: Refactor traces 2020-11-24 08:02:24 -08:00
igc igc: check return value of ret_val in igc_config_fc_after_link_up 2021-02-01 10:04:43 -08:00
ixgb intel: handle unused assignments 2020-09-25 16:28:59 -07:00
ixgbe Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-11 22:29:38 -08:00
ixgbevf xsk: Propagate napi_id to XDP socket Rx path 2020-12-01 00:09:25 +01:00
e100.c net: e100: Remove in_interrupt() usage and pointless GFP_ATOMIC allocation 2020-09-29 14:02:54 -07:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile