Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Fix memory leak.

2014-02-21 Thread Alex Wang
> > > This commit fixes the above issue by calling dp_netdev_flow_unref() > > after using the reference. > > > > Signed-off-by: Alex Wang > > Please backport these fixes, if needed. > > Acked-by: Ben Pfaff > Thanks for the review, Ben, Pushed both patches. Checked the previous branches, no nee

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Fix memory leak.

2014-02-21 Thread Ben Pfaff
On Thu, Feb 20, 2014 at 10:04:54PM -0800, Alex Wang wrote: > In dpif_netdev_flow_del() and dp_netdev_port_input(), the > referenced 'netdev_flow' is not un-referenced. This causes > the leak of the struct's memory. > > This commit fixes the above issue by calling dp_netdev_flow_unref() > after us