Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2019 19:21:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236383] Kernel panic
Message-ID:  <bug-236383-227-h6KtgrRdoG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236383-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236383-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=3D236383

Eugene Grosbein <eugen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eugen@freebsd.org

--- Comment #1 from Eugene Grosbein <eugen@freebsd.org> ---
Created attachment 202920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202920&action=
=3Dedit
Add wlock for priv modification to ng_iface_shutdown()

The problem seems to be in ng_iface_shutdown() that passes zero ifp to
if_detach().

Leaving aside bad memory, the only case in which that can be possible is se=
cond
call to ng_iface_shutdown() after it nullified priv->ifp and before it dest=
oyed
the rest.

Sergey, please apply attached patch and add options INVARIANTS to your kern=
el,
too.

If it does not fix your problem, please post your kernel config file and
mpd.conf.

--=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-236383-227-h6KtgrRdoG>