diff options
author | Rafael Mendonca <rafaelmendsr@gmail.com> | 2022-09-22 14:51:08 -0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-26 13:17:53 -0700 |
commit | c635ebe8d911a93bd849a9419b01a58783de76f1 (patch) | |
tree | 4df3f44d53e6e48622658155e07fc2391c50fc16 /include/xen/pci.h | |
parent | 6e23ec0ba92d426c77a73a9ccab16346e5e0ef49 (diff) |
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 5148e5950c67
("cxgb4: add EOTID tracking and software context dump"), the access to
these ETHOFLD hardware queues should be protected by the 'mqprio_mutex'
instead.
Fixes: 2d0cb84dd973 ("cxgb4: add ETHOFLD hardware queue support")
Fixes: 5148e5950c67 ("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>
Diffstat (limited to 'include/xen/pci.h')
0 files changed, 0 insertions, 0 deletions