]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Move the mutex lock in i40e_client_unregister
authorCatherine Sullivan <catherine.sullivan@intel.com>
Thu, 23 Jun 2016 21:08:46 +0000 (14:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 07:07:06 +0000 (00:07 -0700)
commitddd809738f2623b4ba0e558f51d87a0dda21c0b3
tree6e682e18f065653e0da1c54b60085302d5aa61cb
parent179dbbc02a8f3a63fbdaae1a1749da8cafea93cd
i40e: Move the mutex lock in i40e_client_unregister

We need to lock the client list around the i40e_client_release call to
prevent the release from interrupting the client instances while they are
being added.

Change-Id: I99993f20179aaf8730207833e7d0869d2ccffa1d
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_client.c