diff options
author | Michal Kubeček <mkubecek@suse.cz> | 2016-03-08 14:44:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-08 15:16:50 -0500 |
commit | 3570df914f9cae15df7f6ba472a51eaf798fdb46 (patch) | |
tree | e08b44c0e8312a5657e211bcb1c157d116132ee0 /include/net | |
parent | 02daec7c2274c03ac84f1cbe41204ad8f8e3ca6c (diff) |
ipv6: replace global gc_args with local variable
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions