netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bui Quang Minh <minhquangbui99@gmail.com>
To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Cc: davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org,
	dsahern@kernel.org, willemb@google.com, pabeni@redhat.com,
	avagin@gmail.com, alexander@mihalicyn.com,
	minhquangbui99@gmail.com, lesedorucalin01@gmail.com
Subject: [PATCH v2 0/2] UDP socket repair
Date: Wed, 11 Aug 2021 22:44:02 +0700	[thread overview]
Message-ID: <20210811154402.6842-1-minhquangbui99@gmail.com> (raw)

Hi,

This series implement UDP_REPAIR sockoption for dumping the corked packet
in UDP socket's send queue. A new path is added to recvmsg() for dumping
packet's data and msg_name related information of the packet.

Version 2 changes:
- rebase to net-next

Thanks,
Quang Minh.

Bui Quang Minh (2):
  udp: UDP socket send queue repair
  selftests: Add udp_repair test

 include/linux/udp.h                      |   3 +-
 include/net/udp.h                        |   2 +
 include/uapi/linux/udp.h                 |   1 +
 net/ipv4/udp.c                           |  94 +++++++++-
 net/ipv6/udp.c                           |  56 +++++-
 tools/testing/selftests/net/.gitignore   |   1 +
 tools/testing/selftests/net/Makefile     |   1 +
 tools/testing/selftests/net/udp_repair.c | 218 +++++++++++++++++++++++
 8 files changed, 371 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/net/udp_repair.c

-- 
2.17.1


                 reply	other threads:[~2021-08-11 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210811154402.6842-1-minhquangbui99@gmail.com \
    --to=minhquangbui99@gmail.com \
    --cc=alexander@mihalicyn.com \
    --cc=avagin@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=kuba@kernel.org \
    --cc=lesedorucalin01@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=willemb@google.com \
    --cc=yoshfuji@linux-ipv6.org \
    --subject='Re: [PATCH v2 0/2] UDP socket repair' \
    /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

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 NNTP newsgroup(s).