From: John Fastabend Date: Sat, 13 Sep 2014 03:08:20 +0000 (-0700) Subject: net: sched: RCU cls_tcindex X-Git-Tag: fixes-against-v3.18-rc2~81^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=331b72922c5f58d48fd;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed