Skip to content

net: ping6: support basic socket cmsgs

Jakub Kicinski linux-kselftest netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 6 repliesApplied 11/11

Patches in v1 All 11 applied

#Subject and filesSizeRepliesApplied
1/11net: ping6: remove a pr_debug() statementnet/ipv6/ping.c+0 -21 replyApplied
2/11net: ping6: support packet timestampingnet/ipv6/ping.c+1 -03 repliesApplied
3/11net: ping6: support setting socket options via cmsgnet/ipv6/ping.c+9 -41 replyApplied
4/11selftests: net: rename cmsg_so_marktools/testing/selftests/net/.gitignore tools/testing/selftests/net/Makefile tools/testing/selftests/net/cmsg_sender.c +1 more+6 -60 repliesApplied
5/11selftests: net: make cmsg_so_mark ready for more optionstools/testing/selftests/net/cmsg_sender.c tools/testing/selftests/net/cmsg_so_mark.sh+117 -260 repliesApplied
6/11selftests: net: cmsg_sender: support icmp and raw socketstools/testing/selftests/net/cmsg_sender.c+55 -90 repliesApplied
7/11selftests: net: cmsg_so_mark: test ICMP and RAW socketstools/testing/selftests/net/cmsg_so_mark.sh+16 -80 repliesApplied
8/11selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopttools/testing/selftests/net/cmsg_sender.c tools/testing/selftests/net/cmsg_so_mark.sh+31 -110 repliesApplied
9/11selftests: net: cmsg_sender: support setting SO_TXTIMEtools/testing/selftests/net/cmsg_sender.c+46 -30 repliesApplied
10/11selftests: net: cmsg_sender: support Tx timestampingtools/testing/selftests/net/cmsg_sender.c+122 -10 repliesApplied
11/11selftests: net: test standard socket cmsgs across UDP and ICMP socketstools/testing/selftests/net/Makefile tools/testing/selftests/net/cmsg_time.sh+84 -00 repliesApplied

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchDavid Ahern
1/11R-b
2/11R-b
3/11R-b
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 00/11] net: ping6: support basic socket cmsgs

Add support for common SOL_SOCKET cmsgs in ICMPv6 sockets. Extend the cmsg tests to cover more cmsgs and socket types.

SOL_IPV6 cmsgs to follow.

Jakub Kicinski (11):
net: ping6: remove a pr_debug() statement
net: ping6: support packet timestamping
net: ping6: support setting socket options via cmsg
selftests: net: rename cmsg_so_mark
selftests: net: make cmsg_so_mark ready for more options
selftests: net: cmsg_sender: support icmp and raw sockets
selftests: net: cmsg_so_mark: test ICMP and RAW sockets
selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopt
selftests: net: cmsg_sender: support setting SO_TXTIME
selftests: net: cmsg_sender: support Tx timestamping
selftests: net: test standard socket cmsgs across UDP and ICMP sockets

 net/ipv6/ping.c                             |  14 +-
 tools/testing/selftests/net/.gitignore      |   2 +-
 tools/testing/selftests/net/Makefile        |   3 +-
 tools/testing/selftests/net/cmsg_sender.c   | 380 ++++++++++++++++++++
 tools/testing/selftests/net/cmsg_so_mark.c  |  67 ----
 tools/testing/selftests/net/cmsg_so_mark.sh |  32 +-
 tools/testing/selftests/net/cmsg_time.sh    |  83 +++++
 7 files changed, 499 insertions(+), 82 deletions(-)
 create mode 100644 tools/testing/selftests/net/cmsg_sender.c
 delete mode 100644 tools/testing/selftests/net/cmsg_so_mark.c
 create mode 100755 tools/testing/selftests/net/cmsg_time.sh
Signature · 1 line
2.34.1