mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-05 08:20:44 -05:00
net:cxgb3: fix incorrect work cancellation
In my last changes in commit 5e0b892892 I introduced a copy-paste bug,
leading to cancel twice qresume_task work for OFLD queue, and never the
one for CTRL queue. This patch cancels correctly both works.
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
fcb3463585
commit
d5a73dcf09
@@ -3310,7 +3310,7 @@ void t3_sge_stop(struct adapter *adap)
|
||||
struct sge_qset *qs = &adap->sge.qs[i];
|
||||
|
||||
cancel_work_sync(&qs->txq[TXQ_OFLD].qresume_task);
|
||||
cancel_work_sync(&qs->txq[TXQ_OFLD].qresume_task);
|
||||
cancel_work_sync(&qs->txq[TXQ_CTRL].qresume_task);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user