selftests: openvswitch: add explicit drop testcase
authorAdrian Moreno <amorenoz@redhat.com>
Fri, 11 Aug 2023 14:12:54 +0000 (16:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 07:01:06 +0000 (08:01 +0100)
commit4242029164d6e675d4695e3420399eece29ec599
treef2fa93b3512bcb5f296149b7a54a174c18cbff0a
parentaab1272f5daccceeeb71874ce75f60ae2ac21565
selftests: openvswitch: add explicit drop testcase

Test explicit drops generate the right drop reason. Also, verify that
the kernel rejects flows with actions following an explicit drop.

Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/openvswitch/openvswitch.sh