[Bug 236383] Kernel panic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 16 19:21:22 UTC 2019


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

Eugene Grosbein <eugen at freebsd.org> changed:

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

--- Comment #1 from Eugene Grosbein <eugen at 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.


More information about the freebsd-bugs mailing list