commit | 51a9f5ae653979ac4bdbd81778a10431f0177e3c | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Fri Aug 10 20:51:54 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 11 12:37:10 2018 -0700 |
tree | f1722ebb58f4b1d6f03b69d98120087a2decbbca | |
parent | 4e232818bd32b29f15bef532f320a14367d172b4 [diff] |
net: core: protect rate estimator statistics pointer with lock Extend gen_new_estimator() to also take stats_lock when re-assigning rate estimator statistics pointer. (to be used by unlocked actions) Rename 'stats_lock' to 'lock' and change argument description to explain that it is now also used for control path. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>