diff options
author | Mitch Williams <[email protected]> | 2015-09-28 17:31:26 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-09-28 20:57:14 -0700 |
commit | 43ae93a93e8c95c5e6389dc8e11704712b1ab2e9 (patch) | |
tree | e89c6388d42dbad5d1ac9b1ee65c0377190de01b /lib/memory-notifier-error-inject.c | |
parent | c4bbac3913c0d649898a0d767728a585869a7d7d (diff) |
i40e/i40evf: check for stopped admin queue
It's possible that while we are waiting for the spinlock, another
entity (that owns the spinlock) has shut down the admin queue.
If we then attempt to use the queue, we will panic.
Add a check for this condition on the receive side. This matches
an existing check on the send queue side.
Signed-off-by: Mitch Williams <[email protected]>
Acked-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions