Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 12:13:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-stable@FreeBSD.org
Subject:   [Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)
Message-ID:  <bug-213903-8075-7I84QmkUwu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213903-8075@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213903-8075@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=3D213903

--- Comment #21 from Franco Fichtner <franco@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 !=3D _tid || !_rw_write_unlock((rw), _tid))\
-               _rw_wunlock_hard((rw), _tid, (file), (line));           \
+       else {                                                          \
+               _v =3D (rw)->rw_lock;                                     \
+               if (_v !=3D _tid || !_rw_write_unlock_fetch((rw), &_v))   \
+                       _rw_wunlock_hard((rw), _v, _tid, (file), (line));\
+       }

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213903-8075-7I84QmkUwu>