]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: sched: cls_cgroup tear down exts and ematch from rcu callback
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 6 Oct 2014 04:28:20 +0000 (21:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 22:02:32 +0000 (18:02 -0400)
commit13990f8156862fe945a1a226850a6550c8988a33
tree9246262a5c0728e0e0f40c5208697cd2dda38126
parent82a470f1119eb7d2e4941b915bf9cd6fd8d54494
net: sched: cls_cgroup tear down exts and ematch from rcu callback

It is not RCU safe to destroy the action chain while there
is a possibility of readers accessing it. Move this code
into the rcu callback using the same rcu callback used in the
code patch to make a change to head.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_cgroup.c