Date: Sun, 02 Apr 2000 19:00:17 +0200 From: Gary Jennejohn <garyj@peedub.muc.de> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-current@FreeBSD.ORG Subject: Re: MLEN and crashes Message-ID: <200004021700.TAA01074@peedub.muc.de> In-Reply-To: Your message of "Sun, 02 Apr 2000 13:57:24 %2B0200." <Pine.BSF.4.21.0004022118510.1442-100000@alphplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes: >On Sun, 2 Apr 2000, Gary Jennejohn wrote: >> Moving the struct spppreq into global address space solves the problem, >> but that makes the kernel BSS somewhat larger. Redefining MAX_HDR to be >> 128 also fixes the problem, even with the struct spppreq on the stack. > >Big structs need to be malloced. > Yes, but how does one know that a struct is too big ? Before the increase in MLEN strucct sppp was not too big. >I think removing the unused bloat in `struct cstate' is the correct fix >for this particular allocation. > I think we should nuke csu_hdr since it's not used anywhere. Is that what you really mean ? --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004021700.TAA01074>