Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vnet
/
devices
/
virtio
/
vhost_user_input.c
diff --git
a/src/vnet/devices/virtio/vhost_user_input.c
b/src/vnet/devices/virtio/vhost_user_input.c
index
2614048
..
291d687
100644
(file)
--- a/
src/vnet/devices/virtio/vhost_user_input.c
+++ b/
src/vnet/devices/virtio/vhost_user_input.c
@@
-101,7
+101,7
@@
vhost_user_rx_trace (vhost_trace_t * t,
virtio_net_hdr_mrg_rxbuf_t *hdr;
u32 hint = 0;
virtio_net_hdr_mrg_rxbuf_t *hdr;
u32 hint = 0;
- memset (t, 0, sizeof (*t));
+
clib_
memset (t, 0, sizeof (*t));
t->device_index = vui - vum->vhost_user_interfaces;
t->qid = qid;
t->device_index = vui - vum->vhost_user_interfaces;
t->qid = qid;