]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Fix client interaction
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 14 Sep 2016 23:24:31 +0000 (16:24 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:40:06 +0000 (19:40 -0500)
commitb0bdd865f65504f85eee4716bc6382fe634bf887
tree1c20431c1b83438b852c6722e90ac4426ff3cf02
parentca18fcc0421595723e080b0e8639d98f9639f917
i40e: Fix client interaction

Orabug: 24568124

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>
(cherry picked from commit c73d2e8462d0bb1d47b0e8f6a33d97ab9a154824)
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