diff options
author | John Allen <jallen@linux.vnet.ibm.com> | 2017-06-19 11:27:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-20 15:17:01 -0400 |
commit | cb89ba243baf6e5f7ee1ddf491fa45e0cabccdd1 (patch) | |
tree | d13102e582ef560ac840db0366f5954fe7253514 /drivers/net/ethernet/stmicro | |
parent | ca83697cdc9a2fe67957161933abeb703d7aff89 (diff) | |
download | blackbird-obmc-linux-cb89ba243baf6e5f7ee1ddf491fa45e0cabccdd1.tar.gz blackbird-obmc-linux-cb89ba243baf6e5f7ee1ddf491fa45e0cabccdd1.zip |
ibmvnic: Return from ibmvnic_resume if not in VNIC_OPEN state
If the ibmvnic driver is not in the VNIC_OPEN state, return from
ibmvnic_resume callback. If we are not in the VNIC_OPEN state, interrupts
may not be initialized and directly calling the interrupt handler will
cause a crash.
Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions