[ovs-dev] [PATCH 5/5] datpath: Fix memory leak when a loop is detected.
Ben Pfaff
blp at nicira.com
Fri Dec 10 23:04:30 UTC 2010
On Fri, Dec 10, 2010 at 12:42:57PM -0800, Jesse Gross wrote:
> If we detect a packet that is looping we kill the flow but then
> don't do anything with the packet that caused the problem in the
> first place, so this frees the packet. This isn't a very serious
> leak because we try to shut off the flow that lead to the loop
> as early as possible. Once this happens, packets will no longer
> hit the loop detector and will be freed just as any other packet
> that should be dropped.
>
> It also fixes an issue where the offset to the stats counter is
> uninitialized after a loop is detected.
>
> Signed-off-by: Jesse Gross <jesse at nicira.com>
Good catch.
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list