Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1353294

Re: [PATCH net-next v2 1/3] ipv6: replace global gc_args with local variable

From Cong Wang <xiyou.wangcong@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next v2 1/3] ipv6: replace global gc_args with local variable
Date 2016-03-08 19:30 +0100
Message-ID <rauym-4FV-9@gated-at.bofh.it> (permalink)
References <raqbo-1xM-11@gated-at.bofh.it> <raqbo-1xM-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 8, 2016 at 5:44 AM, Michal Kubecek <mkubecek@suse.cz> wrote:
> Global variable gc_args is only used in fib6_run_gc() and functions
> called from it. As fib6_run_gc() makes sure there is at most one
> instance of fib6_clean_all() running at any moment, we can replace
> gc_args with a local variable which will be needed once multiple
> instances (per netns) of garbage collector are allowed.
>
> Signed-off-by: Michal Kubecek <mkubecek@suse.cz>

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

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next v2 1/3] ipv6: replace global gc_args with local  variable Michal Kubecek <mkubecek@suse.cz> - 2016-03-08 14:50 +0100
  Re: [PATCH net-next v2 1/3] ipv6: replace global gc_args with local variable Cong Wang <xiyou.wangcong@gmail.com> - 2016-03-08 19:30 +0100

csiph-web