Author: hselasky Date: Thu Dec 11 10:47:50 2014 New Revision: 275701 URL: https://svnweb.freebsd.org/changeset/base/275701
Log: Make sure callbacks being freed are not pending when the "mlx4_en_deactivate_cq()" function returns. MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/net/mlx4/en_cq.c Modified: head/sys/ofed/drivers/net/mlx4/en_cq.c ============================================================================== --- head/sys/ofed/drivers/net/mlx4/en_cq.c Thu Dec 11 09:16:45 2014 (r275700) +++ head/sys/ofed/drivers/net/mlx4/en_cq.c Thu Dec 11 10:47:50 2014 (r275701) @@ -190,7 +190,7 @@ void mlx4_en_deactivate_cq(struct mlx4_e 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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"