selftests: openvswitch: Fix the ct_tuple for v4
authorAaron Conole <aconole@redhat.com>
Wed, 11 Oct 2023 19:49:39 +0000 (15:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Oct 2023 19:02:51 +0000 (20:02 +0100)
commit8eff0e062201e26739c74ac2355b7362622b7190
tree9828f3afd53cc76b161b146c441b5d03f2abf649
parent76035fd12cb9046be00ffb9d4262b5b3277d5068
selftests: openvswitch: Fix the ct_tuple for v4

The ct_tuple v4 data structure decode / encode routines were using
the v6 IP address decode and relying on default encode. This could
cause exceptions during encode / decode depending on how a ct4
tuple would appear in a netlink message.

Caught during code review.

Fixes: e52b07aa1a54 ("selftests: openvswitch: add flow dump support")
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/openvswitch/ovs-dpctl.py