diff options
| author | Edward Cree <ecree.xilinx@gmail.com> | 2021-04-20 13:28:28 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-11 14:47:36 +0200 |
| commit | bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253 (patch) | |
| tree | 51c1e3f69440d92cc06b366ae4e02da2f5be2318 /security | |
| parent | fb791572d6747ef385f628450f8d57cd132e6e5a (diff) | |
sfc: farch: fix TX queue lookup in TX event handling
commit 83b09a1807415608b387c7bc748d329fefc5617e 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: 12804793b17c ("sfc: decouple TXQ type from label")
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
