selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopt
authorJakub Kicinski <kuba@kernel.org>
Thu, 10 Feb 2022 00:36:46 +0000 (16:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Feb 2022 15:04:51 +0000 (15:04 +0000)
commit9bbfbc92c64a9f4d5ac4205071c5fc02a8201039
tree6be406651132f42ebd4e5599d1a8c0ec5aac031d
parent0344488e11cab982d2b2402a1689ced1815680fc
selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopt

Test if setting SO_MARK with setsockopt works and if cmsg
takes precedence over it.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/cmsg_sender.c
tools/testing/selftests/net/cmsg_so_mark.sh