]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: pedit_dsfield: Check counter value
authorPetr Machata <petrm@mellanox.com>
Fri, 29 May 2020 11:16:54 +0000 (14:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2020 04:48:24 +0000 (21:48 -0700)
commit75922c0a84568626adc8f8f91d6c6633d4e44e6d
treef063063095695deaa42305100380e2402ef779a7
parented29bf2156cbbcfc32403efd8f66eb7d8edb79ef
selftests: forwarding: pedit_dsfield: Check counter value

A missing stats_update callback was recently added to act_pedit. Now that
iproute2 supports JSON dumping for pedit, extend the pedit_dsfield selftest
with a check that would have caught the fact that the callback was missing.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/pedit_dsfield.sh