commit | 6556a9944f291851a583e86ff7d8613e25c7f39e | [log] [tgz] |
---|---|---|
author | Mohsin Kazmi <sykazmi@cisco.com> | Wed Aug 31 11:14:28 2022 +0000 |
committer | Mohsin Kazmi <sykazmi@cisco.com> | Wed Aug 31 11:14:28 2022 +0000 |
tree | 1f1a047d35cc76cb4c66d7d5011aaa5a40915618 | |
parent | 89733a15ce329a69bb37ea91ceab7a50064ec0a0 [diff] [blame] |
devices: fix coverity warning Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I0a58c0f54d8be31a0a78bef00152fb2cc193840e
diff --git a/src/vnet/devices/af_packet/node.c b/src/vnet/devices/af_packet/node.c index 0e522c9..8c72afb 100644 --- a/src/vnet/devices/af_packet/node.c +++ b/src/vnet/devices/af_packet/node.c
@@ -246,7 +246,7 @@ u32 num_pkts = 0; u32 rx_frame_offset = 0; block_desc_t *bd = 0; - vlib_buffer_t bt; + vlib_buffer_t bt = {}; u8 is_ip = (apif->mode == AF_PACKET_IF_MODE_IP); if (is_ip)