Files
linux/drivers/net
Thomas Falcon 20a8ab744f ibmvnic: Do not attempt to login if RX or TX queues are not allocated
If a device reset fails for some reason, TX and RX queue resources
could be released. If a user attempts to open the device in this scenario,
it may result in a kernel panic as the driver tries to access this
memory. To fix this, include a check before device login that TX/RX
queues are still there before enabling the device. In addition, return a
value that can be checked in case of any errors to avoid waiting for a
completion that will never come.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-27 14:31:19 -05:00
..
2018-02-27 11:01:36 -05:00
2018-02-27 11:01:38 -05:00
2018-02-27 11:01:37 -05:00
2018-02-22 14:05:15 -05:00
2018-01-09 16:34:35 +01:00
2018-02-27 11:01:36 -05:00
2018-02-27 11:01:37 -05:00
2018-02-27 10:37:14 -05:00
2018-02-13 10:36:09 -05:00
2018-02-21 14:14:05 -05:00
2018-02-11 14:34:03 -08:00
2018-02-27 11:01:35 -05:00
2018-02-27 11:01:37 -05:00