Re: [PATCH net-next v2 2/3] ipv6: per netns fib6 walkers

From: Cong Wang
Date: Tue Mar 08 2016 - 13:34:51 EST


On Tue, Mar 8, 2016 at 5:44 AM, Michal Kubecek <mkubecek@xxxxxxx> wrote:
> The IPv6 FIB data structures are separated per network namespace but
> there is still only one global walkers list and one global walker list
> lock. This means changes in one namespace unnecessarily interfere with
> walkers in other namespaces.
>
> Replace the global list with per-netns lists (and give each its own
> lock).
>
> Signed-off-by: Michal Kubecek <mkubecek@xxxxxxx>
> ---
> v2: get rid of ifdef in ipv6_route_seq_setup_walk(), pass net from
> callers instead

Reviewed-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>