Mon, Jul 31, 2017 at 11:07:13PM CEST, xiyou.wangc...@gmail.com wrote: >On Fri, Jul 28, 2017 at 7:40 AM, Jiri Pirko <j...@resnulli.us> wrote: >> From: Jiri Pirko <j...@mellanox.com> >> >> Currently the actions are stored in array with array size. To traverse >> this array in fastpath, tcf_tree_lock is taken to protect it. Convert >> the array into a singly linked list, similar to the filter chains style >> and allow traversal protected by rcu. > >Did you read commit 22dc13c837c33207548c8ee5116 ? > >An action can't be shared by multiple filters if you put them >in a list (no matter singly or double), this is why I use pointers.
Allright. Will check it out.