[ovs-dev] [PATCH] ofproto-dpif-upcall: Fix a memory leak.

Ben Pfaff blp at nicira.com
Mon Sep 23 20:25:25 UTC 2013


On Mon, Sep 23, 2013 at 10:57:22AM -0700, Jarno Rajahalme wrote:
> The "key" member in struct flow_miss refers to memory held by the "struct upcall", hence the upcalls should be freed only after the flow misses are processed by the main thread. How about this instead:
> 
>     Free upcalls after they are used.
> 
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>

Thanks.

This code is really confusing.  I am working on a cleanup.



More information about the dev mailing list