Re: Mbuf leak in if_lagg.c

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Thu, 26 Mar 2015 23:10:49 +0300
On 26.03.2015 22:42, Andrey V. Elsukov wrote:
>> If lp_detaching is non 0, the mbuf pointer is set to NULL without m_freem it.
>>
>> Can you look at this ?
> 
> Hi,
> 
> what you thing about this patch?
> lp_detaching can be non zero in case of parent interface departure.
> So I don't see the reason to call ETHER_BPF_MTAP() in this case.

Now I see the reason - to capture all received packets before interface
departure. New is attached.

-- 
WBR, Andrey V. Elsukov

Received on Thu Mar 26 2015 - 19:12:55 UTC

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