This series extends the Open vSwitch SCTP selftests: patch 1 adds the
IPv6 flow-key test (mirroring the merged IPv4 test), and patch 2 adds an
SCTP NAT test exercising port translation across conntrack.
v3 -> v4:
- test_sctp_connect_v6 now also asserts that installing a keyless
ipv6(proto=132) flow is refused with EINVAL, pinning the reject side
of the match_validate() sctp() key requirement (pointed out in
review: only the accept side was exercised, so a regression dropping
the requirement would have passed unnoticed). The refusal is checked
to be errno 22 specifically, not a flow-string parse error.
- Wrap a few over-80-column lines in the NAT test; checkpatch strict
is now clean for the series.
- Rebased onto 548b86839f7f.
Signed-off-by: Minxi Hou <redacted>
Minxi Hou (2):
selftests/net/openvswitch: add SCTP flow key test over IPv6
selftests/net/openvswitch: add SCTP NAT test with port translation
.../testing/selftests/net/openvswitch/config | 1 +
.../selftests/net/openvswitch/openvswitch.sh | 201 ++++++++++++++++++
2 files changed, 202 insertions(+)
base-commit: 548b86839f7fb819a4d6c83b71c73ec378d24275
--
2.55.0