]> 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)
commit9960b4c4a6891947ed22b53a63e50aeb22a27434
treef063063095695deaa42305100380e2402ef779a7
parenta7b5a6f40e36239d374f22c6ac083b06811b5917
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