]> 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)
commitb936c19c56d21ace5030007c34194f9ff3d7f34c
tree5f43aa7e6ee930d98d9791aac269667d5131d1b1
parent3750c4a65dd7a8922a5f0cd342bba117f317e8fb
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