aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-13 16:37:44 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 11:14:29 +0200
commitaf9c98af5ffc7502c6292a36ffae4913b1ce9acf (patch)
tree2ce8171abf75885e06c9e487754514a8ae0be22a /contrib
parent484652c6322800b32510d6c74d8fc4c8027a106e (diff)
downloadpasst-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar.gz
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar.bz2
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar.lz
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar.xz
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.tar.zst
passt-af9c98af5ffc7502c6292a36ffae4913b1ce9acf.zip
udp: Don't drop zero-length outbound UDP packets
udp_tap_handler() currently skips outbound packets if they have a payload length of zero. This is not correct, since in a datagram protocol zero length packets still have meaning. Adjust this to correctly forward the zero-length packets by using a msghdr with msg_iovlen == 0. Bugzilla: https://bugs.passt.top/show_bug.cgi?id=19 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions