CFR/CFT: plug mbuf leak in new arp code

Julian Elischer julian at elischer.org
Mon Aug 31 23:04:04 UTC 2009


Bjoern A. Zeeb wrote:
> 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
> 


looks pretty right...
all the paths I followed through did the right thing  WRT locks and mbufs.



More information about the freebsd-net mailing list