linux/drivers/net/ethernet/chelsio
Rafael Mendonca c635ebe8d9 cxgb4: fix missing unlock on ETHOFLD desc collect fail path
The label passed to the QDESC_GET for the ETHOFLD TXQ, RXQ, and FLQ, is the
'out' one, which skips the 'out_unlock' label, and thus doesn't unlock the
'uld_mutex' before returning. Additionally, since commit 5148e5950c
("cxgb4: add EOTID tracking and software context dump"), the access to
these ETHOFLD hardware queues should be protected by the 'mqprio_mutex'
instead.

Fixes: 2d0cb84dd9 ("cxgb4: add ETHOFLD hardware queue support")
Fixes: 5148e5950c ("cxgb4: add EOTID tracking and software context dump")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Reviewed-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Link: https://lore.kernel.org/r/20220922175109.764898-1-rafaelmendsr@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-26 13:17:53 -07:00
..
cxgb treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_292.RULE 2022-06-10 14:51:36 +02:00
cxgb3 net: cxgb3: Fix comment typo 2022-08-12 11:28:19 +01:00
cxgb4 cxgb4: fix missing unlock on ETHOFLD desc collect fail path 2022-09-26 13:17:53 -07:00
cxgb4vf cxgb4/cxgb4vf: Fix typo in comments 2022-06-23 20:55:27 -07:00
inline_crypto net/tls: Use RCU API to access tls_ctx->netdev 2022-08-10 22:58:43 -07:00
libcxgb libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route() 2022-01-11 20:36:08 -08:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00