summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/time_range.c
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-10-03 15:25:13 -0700
committerSteven <sluong@cisco.com>2018-10-03 22:33:29 -0700
commit744da656d3442bb812f50d6e8746f0f11adee8b3 (patch)
treec14a58b523ccb6b503a6547b25c76b7cccd167e5 /src/vppinfra/time_range.c
parent5958769b2c9463f2c8da85a380da1ec439354a10 (diff)
vmxnet3: coverity woe
Coverity complains that hb might be null when !prev_b0 is true. It may be right, but not likely. To make the code more explicit when it parses a complete packet, set got_packet = 1 and test got_packet instead of prev_b0 which is somewhat obscure. Use vlib_buffer_free_one rather than vlib_buffer_free_no_next in output.c which takes care of chain buffers. Change-Id: I6e0587605fdc622c3f55fedd74c474666631ed91 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vppinfra/time_range.c')
0 files changed, 0 insertions, 0 deletions