selftests: openvswitch: Test ICMP related matches work with SNAT
authorBrad Cowie <brad@faucet.nz>
Wed, 31 Jan 2024 04:08:22 +0000 (17:08 +1300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Feb 2024 10:13:20 +0000 (10:13 +0000)
commit094bdd48afb8dde4ac71a6a672b096108ded9f49
treed66949eb155b24c692e69398dda42a6b8bc72a91
parent447b80a9330ef2d9a94fc5a9bf35b6eac061f38b
selftests: openvswitch: Test ICMP related matches work with SNAT

Add a test case for regression in openvswitch nat that was fixed by
commit e6345d2824a3 ("netfilter: nf_nat: fix action not being set for
all ct states").

Link: https://lore.kernel.org/netdev/20231221224311.130319-1-brad@faucet.nz/
Link: https://mail.openvswitch.org/pipermail/ovs-dev/2024-January/410476.html
Suggested-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Brad Cowie <brad@faucet.nz>
Tested-by: Aaron Conole <aconole@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/openvswitch/openvswitch.sh