net: sched: rcu'ify cls_bpf
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 13 Sep 2014 03:10:24 +0000 (20:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 16:30:26 +0000 (12:30 -0400)
commit1f947bf151e90ec0baad294881607ebf321a2863
treefdc1f051d80db9c09511b0b497e16ec8f5357e3b
parentb929d86d25352496c528fcd74fdcabe3f6a4994a
net: sched: rcu'ify cls_bpf

This patch makes the cls_bpf classifier RCU safe. The tcf_lock
was being used to protect a list of cls_bpf_prog now this list
is RCU safe and updates occur with rcu_replace.

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>
net/sched/cls_bpf.c