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: 12804793 ("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>
Loading
Please sign in to comment