On Thu, May 16, 2019 at 03:47:41AM -0400, Jason Wang wrote:
@@ -183,7 +184,8 @@ static struct vhost_vsock *vhost_vsock_get(u32 guest_cid)Please increment total_len before virtio_transport_free_pkt(pkt) to
virtio_transport_deliver_tap_pkt(pkt);
virtio_transport_free_pkt(pkt);
- }
+ total_len += pkt->len;
avoid use-after-free.