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

--- Comment #21 from Franco Fichtner <fra...@opnsense.org> ---
This was only supposed to print further debug output, but something in here is
probably responsible for fixing it as it touches the same lines as r301157
that's been known to cause the panic in the first place...

-       else if ((rw)->rw_lock != _tid || !_rw_write_unlock((rw), _tid))\
-               _rw_wunlock_hard((rw), _tid, (file), (line));           \
+       else {                                                          \
+               _v = (rw)->rw_lock;                                     \
+               if (_v != _tid || !_rw_write_unlock_fetch((rw), &_v))   \
+                       _rw_wunlock_hard((rw), _v, _tid, (file), (line));\
+       }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to