Re: [PATCH v2 net-next 0/5] act_bpf: remove spinlock in fast path

2015-08-26 Thread David Miller
From: Alexei Starovoitov Date: Tue, 25 Aug 2015 20:06:30 -0700 > v1 version had a race condition in cleanup path of bpf_prog. > I tried to fix it by adding new callback 'cleanup_rcu' to 'struct tcf_common' > and call it out of act_api cleanup path, but Daniel noticed > (thanks for the idea!) that

[PATCH v2 net-next 0/5] act_bpf: remove spinlock in fast path

2015-08-25 Thread Alexei Starovoitov
v1 version had a race condition in cleanup path of bpf_prog. I tried to fix it by adding new callback 'cleanup_rcu' to 'struct tcf_common' and call it out of act_api cleanup path, but Daniel noticed (thanks for the idea!) that most of the classifiers already do action cleanup out of rcu callback. S