lost mbufs

Dan Lanciani ddl at tardis.UUCP
Fri Feb 8 17:06:15 AEST 1985


	This one caused my some headaches...  There is a condition
under which ip mbuf pointers are lost, leading to a slow decay of
the system as it runs out of storage.  I found it in 2.9, but the
same code exists in 4.2.  It seems to have been fixed in 4.3.  The
problem is in ip_input.c:  immediately after the statement
ipstat.ips_tooshort++; you need to add m = m0;.   Then, after the goto
to bad:, the whole packet, rather than just the tail, will be freed.

					Dan Lanciani
					{seismo, harvard, wjh12}!tardis!ddl
					ddl at tardis.ARPA



More information about the Comp.bugs.2bsd mailing list