]> git.baikalelectronics.ru Git - kernel.git/commit
ice: destroy flow director filter mutex after releasing VSIs
authorSudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Thu, 10 Mar 2022 18:46:52 +0000 (10:46 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 15 Mar 2022 20:36:13 +0000 (13:36 -0700)
commit356b3b260947767463c0868f0b380a17954e951e
tree59a21879de2bd712d8c27fa56ee3327cebd9ef44
parent0e834a2201aaf3c756b78b4035295a5834b074ee
ice: destroy flow director filter mutex after releasing VSIs

Currently fdir_fltr_lock is accessed in ice_vsi_release_all() function
after it is destroyed. Instead destroy mutex after ice_vsi_release_all.

Fixes: c9a81bcc9a78 ("ice: Add flow director support for channel mode")
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c