diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2021-04-20 15:27:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-21 03:03:53 +0300 |
commit | 5b1faa92289b53cad654123ed2bc8e10f6ddd4ac (patch) | |
tree | 4271359d50b20395e98ad024f1dcd4343923aa34 /drivers/net/virtio_net.c | |
parent | 4acd47644ef1e1c8f8f5bc40b7cf1c5b9bcbbc4e (diff) | |
download | linux-5b1faa92289b53cad654123ed2bc8e10f6ddd4ac.tar.xz |
sfc: farch: fix TX queue lookup in TX flush done handling
We're starting from a TXQ instance number ('qid'), not a TXQ type, so
efx_get_tx_queue() is inappropriate (and could return NULL, leading
to panics).
Fixes: 12804793b17c ("sfc: decouple TXQ type from label")
Reported-by: Trevor Hemsley <themsley@voiceflex.com>
Cc: stable@vger.kernel.org
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions