commit | 1f947bf151e90ec0baad294881607ebf321a2863 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Fri Sep 12 20:10:24 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Sep 13 12:30:26 2014 -0400 |
tree | fdc1f051d80db9c09511b0b497e16ec8f5357e3b | |
parent | b929d86d25352496c528fcd74fdcabe3f6a4994a [diff] |
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>