Make sure callbacks being freed are not pending when the
"mlx4_en_deactivate_cq()" function returns. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
a37271c3b8
commit
a94c3b7d98
@ -190,7 +190,7 @@ void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
|
||||
|
||||
taskqueue_drain(cq->tq, &cq->cq_task);
|
||||
if (cq->is_tx)
|
||||
del_timer(&cq->timer);
|
||||
del_timer_sync(&cq->timer);
|
||||
|
||||
mlx4_cq_free(mdev->dev, &cq->mcq);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user