netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] UDP socket repair
@ 2021-08-11 15:44 Bui Quang Minh
  0 siblings, 0 replies; only message in thread
From: Bui Quang Minh @ 2021-08-11 15:44 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: davem, kuba, yoshfuji, dsahern, willemb, pabeni, avagin,
	alexander, minhquangbui99, lesedorucalin01

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-11 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 15:44 [PATCH v2 0/2] UDP socket repair Bui Quang Minh

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