mbox series

[net-next,00/11] net: ping6: support basic socket cmsgs

Message ID 20220210003649.3120861-1-kuba@kernel.org (mailing list archive)
Headers show
Series net: ping6: support basic socket cmsgs | expand

Message

Jakub Kicinski Feb. 10, 2022, 12:36 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 10, 2022, 3:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Wed,  9 Feb 2022 16:36:38 -0800 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,01/11] net: ping6: remove a pr_debug() statement
    https://git.kernel.org/netdev/net-next/c/426522394649
  - [net-next,02/11] net: ping6: support packet timestamping
    https://git.kernel.org/netdev/net-next/c/e7b060460f29
  - [net-next,03/11] net: ping6: support setting socket options via cmsg
    https://git.kernel.org/netdev/net-next/c/3ebb0b1032e5
  - [net-next,04/11] selftests: net: rename cmsg_so_mark
    https://git.kernel.org/netdev/net-next/c/a086ee24cce2
  - [net-next,05/11] selftests: net: make cmsg_so_mark ready for more options
    https://git.kernel.org/netdev/net-next/c/49b786130296
  - [net-next,06/11] selftests: net: cmsg_sender: support icmp and raw sockets
    https://git.kernel.org/netdev/net-next/c/de17e305a810
  - [net-next,07/11] selftests: net: cmsg_so_mark: test ICMP and RAW sockets
    https://git.kernel.org/netdev/net-next/c/0344488e11ca
  - [net-next,08/11] selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopt
    https://git.kernel.org/netdev/net-next/c/9bbfbc92c64a
  - [net-next,09/11] selftests: net: cmsg_sender: support setting SO_TXTIME
    https://git.kernel.org/netdev/net-next/c/4d397424a5e0
  - [net-next,10/11] selftests: net: cmsg_sender: support Tx timestamping
    https://git.kernel.org/netdev/net-next/c/eb8f3116fb3f
  - [net-next,11/11] selftests: net: test standard socket cmsgs across UDP and ICMP sockets
    https://git.kernel.org/netdev/net-next/c/af6ca20591ef

You are awesome, thank you!
Willem de Bruijn Feb. 10, 2022, 4:08 p.m. UTC | #2
On Wed, Feb 9, 2022 at 7:36 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> 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
>

Already merged, but since I was on the cc line: overall looks great to
me too. Thanks Jakub.