[net.bugs.2bsd] lost mbufs

ddl@tardis.UUCP (Dan Lanciani) (02/08/85)

	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@tardis.ARPA