summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/mptcp/Makefile
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-04-15 16:45:02 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-16 15:23:10 -0700
commitdc65fe82fb07e610e03a9b05bd445f46f93175f5 (patch)
treef5e5bc85146e250aebe7c242338e6e7252bf8620 /tools/testing/selftests/net/mptcp/Makefile
parentaa1fbd94e5c7d3a356058b4ee4a455d952dd48aa (diff)
downloadlinux-stable-dc65fe82fb07e610e03a9b05bd445f46f93175f5.tar.gz
linux-stable-dc65fe82fb07e610e03a9b05bd445f46f93175f5.tar.bz2
linux-stable-dc65fe82fb07e610e03a9b05bd445f46f93175f5.zip
selftests: mptcp: add packet mark test case
Extend mptcp_connect tool with SO_MARK support (-M <value>) and add a test case that checks that the packet mark gets copied to all subflows. This is done by only allowing packets with either skb->mark 1 or 2 via iptables. DROP rule packet counter is checked; if its not zero, print an error message and fail the test case. Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/Makefile')
-rw-r--r--tools/testing/selftests/net/mptcp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/mptcp/Makefile b/tools/testing/selftests/net/mptcp/Makefile
index 00bb158b4a5d..f1464f09b080 100644
--- a/tools/testing/selftests/net/mptcp/Makefile
+++ b/tools/testing/selftests/net/mptcp/Makefile
@@ -6,7 +6,7 @@ KSFT_KHDR_INSTALL := 1
CFLAGS = -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include
TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \
- simult_flows.sh
+ simult_flows.sh mptcp_sockopt.sh
TEST_GEN_FILES = mptcp_connect pm_nl_ctl