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/>

index | next in thread | previous in thread | raw e-mail

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

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=202920&action=edit
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 second
call to ng_iface_shutdown() after it nullified priv->ifp and before it destoyed
the rest.

Sergey, please apply attached patch and add options INVARIANTS to your kernel,
too.

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

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

home | help

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