Date: Thu, 11 Dec 2014 10:47:51 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275701 - head/sys/ofed/drivers/net/mlx4 Message-ID: <201412111047.sBBAlp2R065674@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412111047.sBBAlp2R065674>