diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-15 16:45:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-16 15:23:10 -0700 |
commit | dc65fe82fb07e610e03a9b05bd445f46f93175f5 (patch) | |
tree | f5e5bc85146e250aebe7c242338e6e7252bf8620 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aa1fbd94e5c7d3a356058b4ee4a455d952dd48aa (diff) |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions