aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-11-28 13:38:57 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-30 12:23:27 -0800
commit408469d31e9106878d2b3e428dcca9984664dfc9 (patch)
tree7a24f0633aeb98e92a68b187ecb1264fcaff538b /drivers/net
parentnet: sched: fix `tc -s class show` no bstats on class with nolock subqueues (diff)
downloadlinux-dev-408469d31e9106878d2b3e428dcca9984664dfc9.tar.xz
linux-dev-408469d31e9106878d2b3e428dcca9984664dfc9.zip
selftests: forwarding: fix race between packet receive and tc check
It is possible that tc stats get checked before the packet we check for actually arrived into the interface and accounted for. Fix it by checking for the expected result in a loop until timeout is reached (by default 1 second). Fixes: 07e5c75184a1 ("selftests: forwarding: Introduce tc flower matching tests") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions