--- lib/librte_vhost/vhost_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 4809d32..fb3e72a 100644 --- a/lib/librte_vhost/vhost_rxtx.c +++ b/lib/librte_vhost/vhost_rxtx.c @@ -431,6 +431,7 @@ virtio_dev_merge_rx(struct virtio_net *dev, uint16_t queue_id, */ res_base_idx = vq->last_used_idx_res; res_cur_idx = res_base_idx; + secure_len = 0;
do { avail_idx = *((volatile uint16_t *)&vq->avail->idx); -- 1.9.5.msysgit.1