Vlad Buslov 4dbfa76644 net: sched: introduce reference counting for tcf_proto
In order to remove dependency on rtnl lock and allow concurrent tcf_proto
modification, extend tcf_proto with reference counter. Implement helper
get/put functions for tcf proto and use them to modify cls API to always
take reference to tcf_proto while using it. Only release reference to
parent chain after releasing last reference to tp.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-12 13:41:32 -05:00
..
2018-12-25 17:07:49 +09:00
2019-01-23 11:18:00 -08:00
2019-02-08 22:57:27 -08:00
2019-01-27 10:38:04 -08:00
2019-02-12 11:59:45 -05:00
2018-11-29 14:25:36 -08:00