Commit d5a73dcf authored by Íñigo Huguet's avatar Íñigo Huguet Committed by David S. Miller

net:cxgb3: fix incorrect work cancellation

In my last changes in commit 5e0b8928 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: default avatarÍñigo Huguet <ihuguet@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fcb34635
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment