]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: sched: fw: don't set arg->stop in fw_walk() when empty
authorVlad Buslov <vladbu@mellanox.com>
Fri, 15 Feb 2019 15:20:07 +0000 (17:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 21:24:18 +0000 (13:24 -0800)
commit31a998487641bc35bc7465781486ea8f8ddc0b82
tree30ee580b4a167070a2f42557ba7416545ea68229
parent1eb00162f86abda9535de5cbaf6e168f7747ee90
net: sched: fw: don't set arg->stop in fw_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 fw_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_fw.c