diff options
author | 2016-06-30 14:06:55 +0100 | |
---|---|---|
committer | 2016-06-30 14:15:52 +0000 | |
commit | 371fa4411048c4f34a3f35dc0398e1b01c6928cd (patch) | |
tree | 6ec5d82648fac27e2101cd39396ee3e92a0469af /build-data/platforms | |
parent | c4770ecc622e815bd6f355aea0bedfe38820c757 (diff) |
Fix buffer leak from L2 flooding replication process
vlib_buffer_free_inline actually checks (b->flags & VLIB_BUFFER_RECYCLE)
in order to decide whether to free the packet or not.
Although the flag was correctly set in replication_prep, it is not removed
by replication_recycle during last iteration.
This patch just removes VLIB_BUFFER_RECYCLE when is_last is set.
Change-Id: I2445ebce908d94d95535e706b40407b4f15906e4
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'build-data/platforms')
0 files changed, 0 insertions, 0 deletions