Mbuf leak in if_lagg.c

Alexandre Martins alexandre.martins at stormshield.eu
Thu Mar 26 14:59:30 UTC 2015


Hi !

I found a leak of mbuf in the lagg driver :

https://svnweb.freebsd.org/base/head/sys/net/if_lagg.c?view=annotate#l1672

-=-=-=-=-=-=-=-=-=-=-
m = (lp->lp_detaching == 0) ? lagg_proto_input(sc, lp, m) : NULL;
-=-=-=-=-=-=-=-=-=-=-

If lp_detaching is non 0, the mbuf pointer is set to NULL without m_freem it.

Can you look at this ?

Regards

-- 
Alexandre Martins
STORMSHIELD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2757 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150319/75433d3f/attachment.bin>


More information about the freebsd-current mailing list