[ovs-dev] [PATCH] dpif-netdev: Fix (packet) memory leaks in the slow path.

2014-09-19 Thread Daniele Di Proietto
If a packet didn't match a rule in the fast path classifier its memory was never freed. The issue was particularly clear with DPDK devices because it was not possible to process more than ~25 DPDK mbufs in the slow path. This commit fixes the problem by: * calling dpif_packet_delete() if the

Re: [ovs-dev] [PATCH] dpif-netdev: Fix (packet) memory leaks in the slow path.

2014-09-19 Thread Alex Wang
Acked-by: Alex Wang al...@nicira.com Hey Pravin, could you also have a look~ On Fri, Sep 19, 2014 at 1:28 PM, Daniele Di Proietto ddiproie...@vmware.com wrote: If a packet didn't match a rule in the fast path classifier its memory was never freed. The issue was particularly clear with DPDK

Re: [ovs-dev] [PATCH] dpif-netdev: Fix (packet) memory leaks in the slow path.

2014-09-19 Thread Pravin Shelar
On Fri, Sep 19, 2014 at 1:28 PM, Daniele Di Proietto ddiproie...@vmware.com wrote: If a packet didn't match a rule in the fast path classifier its memory was never freed. The issue was particularly clear with DPDK devices because it was not possible to process more than ~25 DPDK mbufs in

Re: [ovs-dev] [PATCH] dpif-netdev: Fix (packet) memory leaks in the slow path.

2014-09-19 Thread Daniele Di Proietto
Thanks for the reviews, I¹m about to send a v2 On 9/19/14, 3:49 PM, Pravin Shelar pshe...@nicira.com wrote: On Fri, Sep 19, 2014 at 1:28 PM, Daniele Di Proietto ddiproie...@vmware.com wrote: If a packet didn't match a rule in the fast path classifier its memory was never freed. The issue was