On Thu, May 25, 2017 at 01:47:32PM -0700, Joe Stringer wrote:
> On 21 May 2017 at 21:55, Yunjian Wang <[email protected]> wrote:
> > The memory leak was triggered each time on calling netflow_unref() with
> > containing netflow_flows. And flows need to be removed and destroyed.
> >
> > Signed-off-by: Yunjian Wang <[email protected]>
> > ---
> 
> Does this also need to netflow_expire__() the flows? Would it make
> sense for this flow clear path to share code with
> netflow_flow_clear()?

That would certainly make sense.  However, it adds a lot of extra code
to run at the time we're freeing something, which is always a little
risky.  Since Greg is having trouble testing this at all, I lean toward
just freeing without trying to send out NetFlow expirations.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to