commit | 97394bef5622cb32fd1e5d152251090da6c238b9 | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Mon Aug 26 16:44:58 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 26 14:17:43 2019 -0700 |
tree | d6dbb13c5f9133a57c5f417f506d7dbae8b58f7a | |
parent | 4f8116c85057239ff37519debdd5d45b38ad8130 [diff] |
net: sched: change tcf block offload counter type to atomic_t As a preparation for running proto ops functions without rtnl lock, change offload counter type to atomic. This is necessary to allow updating the counter by multiple concurrent users when offloading filters to hardware from unlocked classifiers. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>