aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.h
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2018-04-06 18:37:04 -0500
committerDavid S. Miller <davem@davemloft.net>2018-04-08 12:39:47 -0400
commitaf894d239840908dfebb2215e13a713e63d2ffb0 (patch)
tree92234e907250077dcaa94e9908c0d8213c490411 /drivers/net/ethernet/ibm/ibmvnic.h
parentibmvnic: Zero used TX descriptor counter on reset (diff)
downloadlinux-dev-af894d239840908dfebb2215e13a713e63d2ffb0.tar.xz
linux-dev-af894d239840908dfebb2215e13a713e63d2ffb0.zip
ibmvnic: Fix reset scheduler error handling
In some cases, if the driver is waiting for a reset following a device parameter change, failure to schedule a reset can result in a hang since a completion signal is never sent. If the device configuration is being altered by a tool such as ethtool or ifconfig, it could cause the console to hang if the reset request does not get scheduled. Add some additional error handling code to exit the wait_for_completion if there is one in progress. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.h')
0 files changed, 0 insertions, 0 deletions