ibmvnic: Ensure that TX queues are disabled in __ibmvnic_close
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Thu, 15 Jun 2017 04:50:06 +0000 (23:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:00 +0000 (14:29 -0400)
commit4c2687a512b9a6737e86d72f23ad0a1097d56bd5
treeb52b29ecbdd50c3bd5b524c7fa055d96a4915b8d
parentc3e53b9a3efe300a7864ab1ccfbae239d50d0002
ibmvnic: Ensure that TX queues are disabled in __ibmvnic_close

Use netif_tx_disable to guarantee that TX queues are disabled
when __ibmvnic_close is called by the device reset routine.

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