On Fri, Apr 12, 2013 at 11:48:15PM +0100, Zoltan Kiss wrote:
> I think I've found a memory leak in 1.4 branch. When a userspace
> rule sends a packet to the controller, execute_controller_action is
> called with clone=true, so send_packet_in_action doesn't free the
> buffer, and noone else does that later as well.
> It's easy to reproduce with DVSC, you have to install a rule which
> sends everything to the controller:
> 
> ovs-ofctl add-flow xenbr0 priority=65535,actions=controller
> 
> And then trigger it e.g. with MouseZahn:
> 
> mz -B [mgmt IP] -d 100m eth0 -t udp sp=3000,dp=1024-65535,iplen=1400
> 
> The memory consumption grows steadily. Here is a proposed solution,
> please review it. I will reformat it later as a proper patch:

Seems quite possible and the patch is straightforward.  I'll carefully
review it when you send along the full patch, so please do that when
you can.

Thanks,

Ben.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to