mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
487e9589cc
In order to remove rtnl lock dependency from flow_action representation translator, change rcu_dereference_bh_rtnl() to rcu_dereference_protected() in police action helpers that provide external access to rate and burst values. This is safe to do because the functions are not called from anywhere else outside flow_action infrastructure which was modified to obtain tcf_lock when accessing action data in one of previous patches in the series. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
tc_bpf.h | ||
tc_connmark.h | ||
tc_csum.h | ||
tc_ct.h | ||
tc_ctinfo.h | ||
tc_defact.h | ||
tc_gact.h | ||
tc_ife.h | ||
tc_ipt.h | ||
tc_mirred.h | ||
tc_mpls.h | ||
tc_nat.h | ||
tc_pedit.h | ||
tc_police.h | ||
tc_sample.h | ||
tc_skbedit.h | ||
tc_skbmod.h | ||
tc_tunnel_key.h | ||
tc_vlan.h |