[ovs-dev] [PATCH] ofproto-dpif-xlate: Fix memory leak in execute_controller_action.

Ben Pfaff blp at ovn.org
Tue Sep 20 16:59:20 UTC 2016


On Tue, Sep 20, 2016 at 10:35:46AM -0500, Ryan Moats wrote:
> commit df70a7731 ("ofproto-dpif-xlate: Allow translating
> without side-effects.") created a memory leak by removing the
> dp_packet_delete statement in execute_controller_action that
> freed the earlier cloned packet.  This commit restores this
> statement to the end of the method.
> 
> This issue is only seen in the master branch.
> 
> Fixes: df70a7731 ("ofproto-dpif-xlate: Allow translating without side-effects.")
> Signed-off-by: Ryan Moats <rmoats at us.ibm.com>

Thanks, applied to master.



More information about the dev mailing list