vlib: fix vlib_buffer_copy to preserve buffer flags bit 10/21210/1
authorJohn Lo <loj@cisco.com>
Wed, 7 Aug 2019 23:30:29 +0000 (19:30 -0400)
committerJohn Lo <loj@cisco.com>
Sat, 10 Aug 2019 13:58:23 +0000 (13:58 +0000)
commit3d674e86b719a876be15f05b7ef9cb635717016e
tree72e33ede10228847f9a704d08b1bd46d5ad70a4e
parent28d86217bfee01f02b3d21751add572e6bdcc040
vlib: fix vlib_buffer_copy to preserve buffer flags bit

Make vlib_buffer_copy() preserve buffer flags bit the same way as
that of vlib_buffer_clone() so both are consistent.

Type: fix

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I6c32aa1e88724b482ce2439d82019e690311b664
(cherry picked from commit 8ed2d524aa401a89547a1e059528f8a34bb8895f)
src/vlib/buffer_funcs.h