hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/tools/testing/selftests/net/forwarding/tc_flower.sh
....@@ -49,8 +49,8 @@
4949 tc_check_packets "dev $h2 ingress" 101 1
5050 check_fail $? "Matched on a wrong filter"
5151
52
- tc_check_packets "dev $h2 ingress" 102 1
53
- check_err $? "Did not match on correct filter"
52
+ tc_check_packets "dev $h2 ingress" 102 0
53
+ check_fail $? "Did not match on correct filter"
5454
5555 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
5656 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
....@@ -75,8 +75,8 @@
7575 tc_check_packets "dev $h2 ingress" 101 1
7676 check_fail $? "Matched on a wrong filter"
7777
78
- tc_check_packets "dev $h2 ingress" 102 1
79
- check_err $? "Did not match on correct filter"
78
+ tc_check_packets "dev $h2 ingress" 102 0
79
+ check_fail $? "Did not match on correct filter"
8080
8181 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
8282 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower