aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_monitor_user.c
diff options
context:
space:
mode:
authorVlad Buslov2019-03-21 15:17:37 +0200
committerDavid S. Miller2019-03-21 14:32:17 -0700
commitf48ef4d5b083c9273d754246e2220d98f3aedd7d (patch)
tree25f46635f8d4f4486844d6b23975cf9c627a6fa1 /samples/bpf/xdp_monitor_user.c
parentb2552b8c40fa89210070c6e3487b35f10608d6c5 (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>
Diffstat (limited to 'samples/bpf/xdp_monitor_user.c')
0 files changed, 0 insertions, 0 deletions