net: sched: route: don't set arg->stop in route4_walk() when empty
authorVlad Buslov <vladbu@mellanox.com>
Fri, 15 Feb 2019 15:21:00 +0000 (17:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 21:24:39 +0000 (13:24 -0800)
commit3027ff41f67cbef1ad58af68601455db81b0fae5
tree814098233c0c66e8b808d7eca69c8ad4bfd40b63
parent31a998487641bc35bc7465781486ea8f8ddc0b82
net: sched: route: don't set arg->stop in route4_walk() when empty

Some classifiers set arg->stop in their implementation of tp->walk() API
when empty. Most of classifiers do not adhere to that convention. Do not
set arg->stop in route4_walk() to unify tp->walk() behavior among
classifier implementations.

Fixes: ed76f5edccc9 ("net: sched: protect filter_chain list with filter_chain_lock mutex")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_route.c