Date: Fri, 28 Oct 2016 23:53:35 +0000 (UTC) From: "Conrad E. Meyer" <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308068 - head/sys/dev/ioat Message-ID: <201610282353.u9SNrZ9q094310@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Fri Oct 28 23:53:35 2016 New Revision: 308068 URL: https://svnweb.freebsd.org/changeset/base/308068 Log: ioat(4): Assert the submit lock in ioat_submit_single Sponsored by: Dell EMC Isilon Modified: head/sys/dev/ioat/ioat.c Modified: head/sys/dev/ioat/ioat.c ============================================================================== --- head/sys/dev/ioat/ioat.c Fri Oct 28 23:53:33 2016 (r308067) +++ head/sys/dev/ioat/ioat.c Fri Oct 28 23:53:35 2016 (r308068) @@ -1804,6 +1804,8 @@ static void ioat_submit_single(struct ioat_softc *ioat) { + mtx_assert(&ioat->submit_lock, MA_OWNED); + ioat_get(ioat, IOAT_ACTIVE_DESCR_REF); atomic_add_rel_int(&ioat->head, 1); atomic_add_rel_int(&ioat->hw_head, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610282353.u9SNrZ9q094310>