sfc: farch: fix TX queue lookup in TX flush done handling
commit 5b1faa92 upstream. 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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment