CFR/CFT: plug mbuf leak in new arp code

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Mon Aug 31 22:27:47 UTC 2009


Hi,

I have a patch for FreeBSD 8.x / 9-CURRENT that plugs an mbuf leak
in the new arp code that needs review and further testing.

Find a longer description of the problem at the beginning of the
patch.  There is a lot of context in the patch; if you want a shorter
one, apply and re-gen it.

If you want to see the current problem, log in to a remote 8/9 machine
and repeatedly type ... over that connection (you need to be su):
 	arp -ad > /dev/null ; netstat -m | head -1
Watch the first number. Warning: doing it too often will make that
machine panic eventually.

Here's the patch:
http://people.freebsd.org/~bz/20090831-01-plug-new-arp-mbuf-leak.diff

Thanks for your help in advance.

/bz

-- 
Bjoern A. Zeeb           What was I talking about and who are you again?


More information about the freebsd-net mailing list