]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Check client is open before calling client ops
authorCatherine Sullivan <catherine.sullivan@intel.com>
Mon, 15 Aug 2016 21:17:18 +0000 (14:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 20 Aug 2016 04:33:59 +0000 (21:33 -0700)
commit939375fd4aa7bd47668803abee5bdc59ff1a01ed
tree41088c52bc11055751fbcc6fc19d3175770c27c8
parent49d7b778c396e8f4005001524b916be0e2cad5e9
i40e: Check client is open before calling client ops

We were having a race between the completion of the client open and
calls to the client ops so don't call a client op unless we are sure the
client is open.

Testing Hints: Load IWARP driver and make sure it works as expected.

Change-Id: I741f4f2aa4fcbfdad3e40dabbbb1b005856c396b
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