[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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 24 18:41:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227749

--- Comment #10 from commit-hook at 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 the
  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

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


More information about the freebsd-bugs mailing list