Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 18:41:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227749] post-panic assertion failed: panic: Assertion (*xp & ~LK_EXCLUSIVE_SPINNERS) == LK_SHARERS_LOCK(1) failed at /usr/src/sys/kern/kern_lock.c:541
Message-ID:  <bug-227749-227-9o0THYVcln@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227749-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227749-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227749

--- Comment #10 from commit-hook@freebsd.org ---
A commit references this bug:

Author: cem
Date: Tue Apr 24 18:41:14 UTC 2018
New revision: 332957
URL: https://svnweb.freebsd.org/changeset/base/332957

Log:
  lockmgr: Add missed neutering during panic

  r313683 introduced new lockmgr APIs that missed the panic-time neutering
  present in the rest of our locks.  Correct that by adding the usual check.

  Additionally, move the __lockmgr_args neutering above the assertions at t=
he
  top of the function.  Drop the interlock unlock because we shouldn't have
  an unneutered interlock either.  No point trying to unlock it.

  PR:           227749
  Reported by:  jtl
  Sponsored by: Dell EMC Isilon

Changes:
  head/sys/kern/kern_lock.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227749-227-9o0THYVcln>