public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: passt-dev@passt.top
Subject: [PATCH 0/2] Don't drop outbound zero-length UDP packets over tap
Date: Fri, 09 Sep 2022 14:27:12 +1000	[thread overview]
Message-ID: <20220909042714.762832-1-david@gibson.dropbear.id.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 759 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

David Gibson (2):
  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                | 10 +++---
 4 files changed, 67 insertions(+), 70 deletions(-)

-- 
2.37.3


             reply	other threads:[~2022-09-09  4:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09  4:27 David Gibson [this message]
2022-09-09  4:27 ` [PATCH 1/2] udp: Don't drop zero-length outbound UDP packets David Gibson
2022-09-09  9:26   ` Stefano Brivio
2022-09-09 10:39     ` David Gibson
2022-09-09 16:06       ` Stefano Brivio
2022-09-13  6:39         ` David Gibson
2022-09-13  9:08           ` Stefano Brivio
2022-09-13  9:30             ` David Gibson
2022-09-09  4:27 ` [PATCH 2/2] test: Simpler termination handling for UDP tests David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220909042714.762832-1-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).