Re: Mbuf leak in if_lagg.c

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Thu, 26 Mar 2015 10:45:43 -0700
Hi!

Please file a bug! https://bugs.freebsd.org/submit/

Thanks!


-a


On 19 March 2015 at 09:31, Alexandre Martins
<alexandre.martins_at_stormshield.eu> wrote:
> 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
>
Received on Thu Mar 26 2015 - 16:45:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC