From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH v2 0/3] Don't drop outbound zero-length UDP packets over tap Date: Tue, 13 Sep 2022 16:37:42 +1000 Message-ID: <20220913063745.3657546-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5313728576016043353==" --===============5313728576016043353== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --===============5313728576016043353==--