public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Fix possible truncation of frames from /dev/net/tun
@ 2024-09-06 11:49 David Gibson
  2024-09-06 11:49 ` [PATCH 1/4] tap: Split out handling of EPOLLIN events David Gibson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Gibson @ 2024-09-06 11:49 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

These changes started off as part of the series re-introducing EPOLLET
for tap event handling.  That's now turned out to be of lower
priority, but along the way we fixed a bug where we could truncate
frames from the kernel tap interface.

This is a respin of that patch, plus a few minor preliminary cleanups.
Various minor tweaks based on feedback from the original posting as
part of the tap EPOLLET series.

David Gibson (4):
  tap: Split out handling of EPOLLIN events
  tap: Improve handling of EINTR in tap_passt_input()
  tap: Restructure in tap_pasta_input()
  tap: Don't risk truncating frames on full buffer in tap_pasta_input()

 tap.c | 98 +++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 58 insertions(+), 40 deletions(-)

-- 
2.46.0


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

end of thread, other threads:[~2024-09-06 12:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06 11:49 [PATCH 0/4] Fix possible truncation of frames from /dev/net/tun David Gibson
2024-09-06 11:49 ` [PATCH 1/4] tap: Split out handling of EPOLLIN events David Gibson
2024-09-06 11:49 ` [PATCH 2/4] tap: Improve handling of EINTR in tap_passt_input() David Gibson
2024-09-06 11:49 ` [PATCH 3/4] tap: Restructure in tap_pasta_input() David Gibson
2024-09-06 11:49 ` [PATCH 4/4] tap: Don't risk truncating frames on full buffer " David Gibson
2024-09-06 12:20 ` [PATCH 0/4] Fix possible truncation of frames from /dev/net/tun Stefano Brivio

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).