]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Validate napi exist before disabling them
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 21 Apr 2017 19:39:10 +0000 (15:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:52:13 +0000 (12:52 -0400)
commitf99e4a08e8a066bf013352f9305e75903dc7af54
tree1c15b112f9610cb50b79ac78b9e37d86494e41b4
parentd55b32091d4360365223795ae96283019698aa53
ibmvnic: Validate napi exist before disabling them

Validate that the napi structs exist before trying to disable them
at driver close.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c