diff options
author | John Fastabend <john.fastabend@gmail.com> | 2014-09-13 03:08:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-13 16:30:26 (GMT) |
commit | 331b72922c5f58d48fd5500acadc91777cc31970 (patch) | |
tree | 03f16a1e47e4b4c01dca29868a9b13d86634aa82 /net/sched/cls_u32.c | |
parent | 1109c00547fc66df45b9ff923544be4c1e1bec13 (diff) | |
download | linux-331b72922c5f58d48fd5500acadc91777cc31970.tar.xz |
net: sched: RCU cls_tcindex
Make cls_tcindex RCU safe.
This patch addds a new RCU routine rcu_dereference_bh_rtnl() to check
caller either holds the rcu read lock or RTNL. This is needed to
handle the case where tcindex_lookup() is being called in both cases.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions