kern/78227: Destroying a network interface leaks kernel memory
Brooks Davis
brooks at one-eyed-alien.net
Wed Mar 9 16:02:42 GMT 2005
> I like OpenBSD's solution. Please look at the attached patch; it
> adds in_multi pointer into in_ifaddr, assigns it return value of
> in_addmulti() and calls in_delmulti() when removing address.
This looks fine to me.
> P.S. I suspect we also have a memory leak when interface is joined a
> multicast group and then destroyed.
Actually, I believe it's a panic. :( I haven't had a chance to look at
it much, but I put what I found in kern/77665. It's pretty easy to
trigger if you have a pccard/cardbus nic.
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20050309/8f28d775/attachment.bin
More information about the freebsd-bugs
mailing list