From: John Fastabend Date: Sat, 13 Sep 2014 03:06:26 +0000 (-0700) Subject: net: sched: cls_cgroup use RCU X-Git-Tag: fixes-against-v3.18-rc2~81^2~78^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7953ef23042b7c4fc2be5ecdd216aacff6df5eb;p=pandora-kernel.git net: sched: cls_cgroup use RCU Make cgroup classifier safe for RCU. Also drops the calls in the classify routine that were doing a rcu_read_lock()/rcu_read_unlock(). If the rcu_read_lock() isn't held entering this routine we have issues with deleting the classifier chain so remove the unnecessary rcu_read_lock()/rcu_read_unlock() pair noting all paths AFAIK hold rcu_read_lock. If there is a case where classify is called without the rcu read lock then an rcu splat will occur and we can correct it. Signed-off-by: John Fastabend Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed