commit | e329bc427395e2d74f2bb685ef3dddda91a6695f | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Fri Aug 10 20:51:55 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 11 12:37:10 2018 -0700 |
tree | 3f5d5093dc9ab2049e456997659d91bff449cce6 | |
parent | 51a9f5ae653979ac4bdbd81778a10431f0177e3c [diff] |
net: sched: act_police: remove dependency on rtnl lock Use tcf spinlock to protect police action private data from concurrent modification during dump. (init already uses tcf spinlock when changing police action state) Pass tcf spinlock as estimator lock argument to gen_replace_estimator() during action init. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>