sfc: farch: fix TX queue lookup in TX flush done handling
stable inclusion from stable-5.10.36 commit fb791572d6747ef385f628450f8d57cd132e6e5a bugzilla: 51867 CVE: NA -------------------------------- 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: NTrevor Hemsley <themsley@voiceflex.com> Cc: stable@vger.kernel.org Signed-off-by: NEdward Cree <ecree.xilinx@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录