Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 11:28:29 +0400
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Taku YAMAMOTO <taku@tackymt.homeip.net>
Cc:        George Neville-Neil <gnn@FreeBSD.org>, freebsd-current@freebsd.org
Subject:   Re: IPSEC crashes after r253088
Message-ID:  <51EE309D.2030106@FreeBSD.org>
In-Reply-To: <20130721054323.915f865769e6042c7dc62d08@tackymt.homeip.net>
References:  <20130721054323.915f865769e6042c7dc62d08@tackymt.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21.07.2013 00:43, Taku YAMAMOTO wrote:
> After r253088, systems with IPSEC and KSTACK_PAGES < 4 crashes on
> booting into multi-user mode.
> 
> The crash is due to sysctl -a in /etc/rc.d/initrandom ended up with
> kernel stack overflow.

> where type is struct ipsecstat which is 12560 bytes of size (larger than
> 3 pages) of size when processing net.inet.ipsec.ipsecstats.

Hi,

Only few fields of struct ipsecstat is used, the rest fields are never
updated. We can split it to several structures, or just remove unused
fields. What is better?

-- 
WBR, Andrey V. Elsukov



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