diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2021-04-20 15:28:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-21 03:03:53 +0300 |
commit | 83b09a1807415608b387c7bc748d329fefc5617e (patch) | |
tree | ea7886227e8300fb082b871679f68f585ec00187 /drivers/net/phy/bcm54140.c | |
parent | 5b1faa92289b53cad654123ed2bc8e10f6ddd4ac (diff) | |
download | linux-83b09a1807415608b387c7bc748d329fefc5617e.tar.xz |
sfc: farch: fix TX queue lookup in TX event handling
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>
Diffstat (limited to 'drivers/net/phy/bcm54140.c')
0 files changed, 0 insertions, 0 deletions