]> git.baikalelectronics.ru Git - kernel.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)
commit42274e76386579efbc886cd30cbf54c96b61e79d
tree30ee580b4a167070a2f42557ba7416545ea68229
parentfec2b2bcb0972d95274c23af1648bc2abc79c154
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: 9d7588c2b44f ("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