sfc: farch: fix TX queue lookup in TX event handling
stable inclusion from stable-5.10.36 commit bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253 bugzilla: 51867 CVE: NA -------------------------------- commit 83b09a18 upstream. We're starting from a TXQ label, not a TXQ type, so efx_channel_get_tx_queue() is inappropriate (and could return NULL, leading to panics). Fixes: 12804793 ("sfc: decouple TXQ type from label") 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
想要评论请 注册 或 登录