commit | f48ef4d5b083c9273d754246e2220d98f3aedd7d | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Thu Mar 21 15:17:37 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 21 14:32:17 2019 -0700 |
tree | 25f46635f8d4f4486844d6b23975cf9c627a6fa1 | |
parent | b2552b8c40fa89210070c6e3487b35f10608d6c5 [diff] |
net: sched: flower: add reference counter to flower mask Extend fl_flow_mask structure with reference counter to allow parallel modification without relying on rtnl lock. Use rcu read lock to safely lookup mask and increment reference counter in order to accommodate concurrent deletes. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>