Propagate the VLIB_FRAME_NO_FREE_AFTER_DISPATCH flag to cloned next_frames 01/701/2
authorBud Grise <[email protected]>
Tue, 5 Apr 2016 00:17:36 +0000 (20:17 -0400)
committerGerrit Code Review <[email protected]>
Mon, 11 Apr 2016 14:23:34 +0000 (14:23 +0000)
commit5ac4a0f76a4f871e6e330e038d297d2d1c4c4f38
treead57be062d8c5663e801bf5e5036dfab6e963515
parent608d1edf745d29ff03fc39da7351a593bf11eb5b
Propagate the VLIB_FRAME_NO_FREE_AFTER_DISPATCH flag to cloned next_frames

Without this, frames can be double-freed to nodes like "error-punt",
leading to buffer leaks and other problems.

Change-Id: Ie28a4f504254ee439f720dbaac7f12206cea753b
Signed-off-by: Todd Foggoa <[email protected]>
vlib/vlib/threads.c