public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/3] Don't drop outbound zero-length UDP packets over tap
@ 2022-09-13  6:37 David Gibson
  2022-09-13  6:37 ` [PATCH v2 1/3] udp: Don't pre-initialize msghdr array David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gibson @ 2022-09-13  6:37 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

passt/pasta was incorrectly dropping UDP packets with a zero-length
payload when travelling out via the tap interface.  This is incorrect,
since for a datagram protocol, zero-length packets are still
meaningful.

Based on my earlier series for test command dispatch, user namespace
cleanup and test temporary file handling.

Bugzilla: https://bugs.passt.top/show_bug.cgi?id=19

Changes since v1:
 * Also remove unnecessary initialization of mm[]

David Gibson (3):
  udp: Don't pre-initialize msghdr array
  udp: Don't drop zero-length outbound UDP packets
  test: Simpler termination handling for UDP tests

 test/passt/udp       | 23 +++++++-------
 test/passt_in_ns/udp | 73 ++++++++++++++++++++++----------------------
 test/pasta/udp       | 31 +++++++++----------
 udp.c                | 23 +++++++++-----
 4 files changed, 77 insertions(+), 73 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-13  6:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13  6:37 [PATCH v2 0/3] Don't drop outbound zero-length UDP packets over tap David Gibson
2022-09-13  6:37 ` [PATCH v2 1/3] udp: Don't pre-initialize msghdr array David Gibson
2022-09-13  6:37 ` [PATCH v2 2/3] udp: Don't drop zero-length outbound UDP packets David Gibson
2022-09-13  6:37 ` [PATCH v2 3/3] test: Simpler termination handling for UDP tests David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).