Re: IPSEC crashes after r253088

看板FB_current作者時間12年前 (2013/07/23 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
On 23.07.2013 09:28, Andrey V. Elsukov wrote: > 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? Not storing it on the stack? -- Andre _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Hxccp12 (FB_current)
文章代碼(AID): #1Hxccp12 (FB_current)