ibmvnic: Check for driver reset first in ibmvnic_xmit
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 3 May 2017 18:05:08 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:33:05 +0000 (11:33 -0400)
commit161b8a813877fb7d3deba6b3bd2731d4f4a75c5e
treec060f50efb85c60e164ca8bfb64a1b3dff8cfd4a
parent46293b940fede04f90aab18d4bfecc5bd942cf3a
ibmvnic: Check for driver reset first in ibmvnic_xmit

Move the check for the driver resetting to the first thing
in ibmvnic_xmit().

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