commit | d355ab09594118b8dfb3d78dbda72fff634a934b | [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:00 2014 -0400 |
tree | fdc1f051d80db9c09511b0b497e16ec8f5357e3b | |
parent | 8b21e2307f2601fd3baaddb3e22f1a25e6719695 [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>