summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/mcdi_pcol.h
diff options
context:
space:
mode:
authorJohn Allen <jallen@linux.vnet.ibm.com>2018-03-14 16:41:29 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-14 18:08:14 +0100
commite676d81c8990f511d60698a1a8abaa438b3f9d3d (patch)
tree10f952c7f06fd745b47d9fd20c7942d018118686 /drivers/net/ethernet/sfc/mcdi_pcol.h
parentsock: remove zerocopy sockopt restriction on closed tcp state (diff)
downloadlinux-e676d81c8990f511d60698a1a8abaa438b3f9d3d.tar.xz
linux-e676d81c8990f511d60698a1a8abaa438b3f9d3d.zip
ibmvnic: Fix reset return from closed state
The case in which we handle a reset from the state where the device is closed seems to be bugged for all types of reset. For most types of reset we currently exit the reset routine correctly, but don't set the state to indicate that we are back in the "closed" state. For some specific cases, we don't exit the reset routine at all and resetting will cause a closed device to be opened. This patch fixes the problem by unconditionally checking the reset_state and correctly setting the adapter state before returning. Signed-off-by: John Allen <jallen@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi_pcol.h')
0 files changed, 0 insertions, 0 deletions