]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix client interaction
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 14 Sep 2016 23:24:31 +0000 (16:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 29 Oct 2016 06:28:39 +0000 (23:28 -0700)
commitc913a1e5113da72d105a9112d0b8bac42bc0bdd7
tree5f43aa7e6ee930d98d9791aac269667d5131d1b1
parent0032693764234c6a9ea8e2bef755b21054839e7c
i40e: Fix client interaction

This patch fixes a problem in the client interface that
was causing random stack traces in RDMA driver load and
unload tests.  This patch fixes the problem by checking
for an existing client before trying to open it.  Without
this patch, there is a timing related null pointer deref.

Change-ID: Ib73d30671a27f6f9770dd53b3e5292b88d6b62da
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_client.c