[ovs-dev] [PATCH 2/2] dpif-netdev: Fix memory leak.
Ben Pfaff
blp at nicira.com
Fri Feb 21 21:43:13 UTC 2014
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 using the reference.
>
> Signed-off-by: Alex Wang <alexw at nicira.com>
Please backport these fixes, if needed.
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list