Copy flags when cloning next_frames 66/466/3
authorNikhil P Rao <nikhil.rao@intel.com>
Thu, 3 Mar 2016 16:56:19 +0000 (22:26 +0530)
committerGerrit Code Review <gerrit@fd.io>
Thu, 3 Mar 2016 19:12:06 +0000 (19:12 +0000)
commit8a33f31baa37aae175dd5f0a43283ef513c7716f
treeb0e3b8cfcb6701c6b88cc457ffcb630cee9ff264
parent7e437bce90ba9bff3df570f337304df1ce1a4fbd
Copy flags when cloning next_frames

The VLIB_FRAME_NO_FREE_AFTER_DISPATCH flag is not preserved when cloning
next_frames, as a result VLIB_FRAME_FREE_AFTER_DISPATCH can
erroneously be set for a frame (see vlib_get_next_frame_internal())

Change-Id: Ice1d7ddcb807e1168aa0c157d9474be492d102c2
Signed-off-by: Nikhil P Rao <nikhil.rao@intel.com>
vlib/vlib/threads.c