summaryrefslogtreecommitdiffstats
path: root/src/plugins/nsim/nsim_test.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-01-11 11:34:56 +0000
committerNeale Ranns <neale@graphiant.com>2022-01-11 12:47:52 +0000
commit30d46e7455b20c46d97ad04f72afce3995e4a2c4 (patch)
treecf382caaf9564c44dcf3f028d0ac3f6db06009a7 /src/plugins/nsim/nsim_test.c
parentce4083ce48958d9d3956e8317445a5552780af1a (diff)
vlib: fix the total len not including first buffer formating
Type: fix total len not including first buffer is in vlib_buffer_t second cacheline. It is not reset after the buffer has been consumed. It leads to printing garbage in packet trace for subsequent use of this buffer. This patch fixes the issue to only print when VLIB_BUFFER_NEXT_PRESENT flag is set. Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ied72308bdb907a5e1ca16d181f2add062807e968
Diffstat (limited to 'src/plugins/nsim/nsim_test.c')
0 files changed, 0 insertions, 0 deletions