diff options
author | Paweł Jabłoński <pawel.jablonski@intel.com> | 2018-02-06 00:03:36 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-02-26 23:29:41 +0300 |
commit | 8cd5fe62cc5a2aca1c698c28baa46ac6931ba11f (patch) | |
tree | d7edf1ef81aa9c9b73b93413bfdcc5ef8116c3e5 /drivers/net/ethernet/intel/i40e/i40e_txrx.c | |
parent | c3880bd159d431d06b687b0b5ab22e24e6ef0070 (diff) | |
download | linux-8cd5fe62cc5a2aca1c698c28baa46ac6931ba11f.tar.xz |
i40evf: Fix double locking the same resource
Removes the locking of adapter->mac_vlan_list_lock resource in
i40evf_add_filter(). The locking part is moved above i40evf_add_filter().
i40evf_add_filter(), called by i40evf_addr_sync(), was trying to lock the
resource again and double locking generated a kernel panic after bringing
an interface up.
Fixes: 8946b56354b7 ("i40evf: use __dev_[um]c_sync routines in
.set_rx_mode")
Signed-off-by: Paweł Jabłoński <pawel.jablonski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_txrx.c')
0 files changed, 0 insertions, 0 deletions