Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 09:00:25 -0800
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Adrian Chadd <adrian.chadd@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: kernel panic by enabling net.inet.ip.random_id
Message-ID:  <20160108170025.GW1906@FreeBSD.org>
In-Reply-To: <20160106182453.GA45169@mutt-hardenedbsd>
References:  <20160106015742.GA8405@mutt-hardenedbsd> <CAJ-VmonnHgpCxN%2BVvrP9j%2BtHK=3Yxjz0qa9kd8riSaUEhJnNtg@mail.gmail.com> <20160106021316.GB8405@mutt-hardenedbsd> <CAJ-VmonZO8WzrTMS394AJw8duvbW=%2B2bEfaQDzkkaC5HHcmAxA@mail.gmail.com> <20160106144608.GA71037@mutt-hardenedbsd> <CAJ-VmonFRzw4SMLuNMartzMT2%2B-4ZnsARvbC_SySaj95aOA_TQ@mail.gmail.com> <20160106182453.GA45169@mutt-hardenedbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 06, 2016 at 01:24:53PM -0500, Shawn Webb wrote:
S> That's what gets toggled via the sysctl. I think I figured out that I
S> need to call ip_initid() in the SYSINIT. Compiling and testing now.

Right, that's the problem. You actually want VNET_SYSINIT().

Please next time you report a panic, don't say "I'm on latest HEAD on
amd64 in bhyve" when you are actually running a modified version. It
took me about 10 minutes pondering into your backtrace in initial
post and into ip_id.c. Then I went on reading thread further and
discovered that I was reading wrong ip_id.c

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160108170025.GW1906>