]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Exit polling routine correctly during adapter reset
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Thu, 15 Jun 2017 04:50:09 +0000 (23:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:00 +0000 (14:29 -0400)
commitbc5a2aecc2600b245a35ab65bb3788c1868a6feb
treefb0e1abc90a1e1bd09cab91a0781e4c60e4e1232
parent09d0498f4d3da8f76eb7689167a70b624edf3e72
ibmvnic: Exit polling routine correctly during adapter reset

This patch fixes a bug where, in the case of a device reset,
the polling routine will never complete, causing napi_disable
to sleep indefinitely when attempting to close the device.

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