1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Jakub Kicinski a5a6dc4dc2 iavf: fix double-release of rtnl_lock
[ Upstream commit f134026572 ]

This code does not jump to exit on an error in iavf_lan_add_device(),
so the rtnl_unlock() from the normal path will follow.

Fixes: b66c7bc1cd ("iavf: Refactor init state machine")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-12 20:16:10 +01:00
..
e1000 e1000: Do not perform reset in reset_task if we are already down 2020-10-01 13:18:03 +02:00
e1000e e1000e: Add support for Comet Lake 2020-09-23 12:40:33 +02:00
fm10k fm10k: use a local variable for the frag pointer 2019-09-09 10:08:38 -07:00
i40e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 2021-01-12 20:16:10 +01:00
iavf iavf: fix double-release of rtnl_lock 2021-01-12 20:16:10 +01:00
ice ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx 2020-10-01 13:17:16 +02:00
igb igb: reinit_locked() should be called with rtnl_lock 2020-08-11 15:33:38 +02:00
igbvf net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
igc igc: Fix returning wrong statistics 2020-11-18 19:20:27 +01:00
ixgb net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
ixgbe ixgbe: avoid premature Rx buffer reuse 2020-12-30 11:50:56 +01:00
ixgbevf ixgbevf: Remove limit of 10 entries for unicast filter list 2020-02-05 21:22:44 +00:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00