]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:31:04 +0000 (19:31 -0500)
commit9ce3f78a2e576636841ab7d0e5d76058eeefa8df
treec2e45b5545841c5cec72f27774c0d40ea049a2b4
parente7264061308983dbe49e2e7d8710c03c08e99e6f
i40e: Move the mutex lock in i40e_client_unregister

Orabug: 24568124

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>
(cherry picked from commit cd3be169a5ffe6a289255e11123abe933e16f112)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_client.c