selftests: udp: test for passing SO_MARK as cmsg
authorJakub Kicinski <kuba@kernel.org>
Fri, 29 Oct 2021 15:51:35 +0000 (08:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2021 13:12:48 +0000 (13:12 +0000)
commitb0ced8f290fb7bb03d23c4c3c3355e92a4be6e95
tree341ed0733f7a68c500e4c7ff0197cc4f689afcae
parent42dcfd850e514b229d616a53dec06d0f2533217c
selftests: udp: test for passing SO_MARK as cmsg

Before fix:
|  Case IPv6 rejection returned 0, expected 1
|FAIL - 1/4 cases failed

With the fix:
| OK

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/.gitignore
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/cmsg_so_mark.c [new file with mode: 0644]
tools/testing/selftests/net/cmsg_so_mark.sh [new file with mode: 0755]