aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-06-13 14:36:55 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-06-13 15:45:42 +0200
commit4070bac7a48f92041617363a5e94ab760ba72073 (patch)
treeff1e92f175f133b5601c5f2256fe1775acfb83de /udp.c
parent7290335b146c61495178c73310bc6727608988cc (diff)
downloadpasst-4070bac7a48f92041617363a5e94ab760ba72073.tar
passt-4070bac7a48f92041617363a5e94ab760ba72073.tar.gz
passt-4070bac7a48f92041617363a5e94ab760ba72073.tar.bz2
passt-4070bac7a48f92041617363a5e94ab760ba72073.tar.lz
passt-4070bac7a48f92041617363a5e94ab760ba72073.tar.xz
passt-4070bac7a48f92041617363a5e94ab760ba72073.tar.zst
passt-4070bac7a48f92041617363a5e94ab760ba72073.zip
tap: use in->buf_size rather than sizeof(pkt_buf)
buf_size is set to sizeof(pkt_buf) by default. And it seems more correct to provide the actual size of the buffer. Later a buf_size of 0 will allow vhost-user mode to detect guest memory buffers. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions