From: Adrian Bunk <bunk@stusta.de>
Date: Tue, 21 Mar 2006 01:46:56 +0000 (-0800)
Subject: [IPV4] fib_rules.c: make struct fib_rules static again
X-Git-Tag: firefly_0821_release~37598^2~186
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d15150f755bb468afe003d1afee0f45a2fc5eeeb;p=firefly-linux-kernel-4.4.55.git

[IPV4] fib_rules.c: make struct fib_rules static again

struct fib_rules became global for no good reason.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index 7b462a39aa4d..768e8f5d7daa 100644
--- a/net/ipv4/fib_rules.c
+++ b/net/ipv4/fib_rules.c
@@ -100,7 +100,7 @@ static struct fib_rule local_rule = {
 	.r_action =	RTN_UNICAST,
 };
 
-struct hlist_head fib_rules;
+static struct hlist_head fib_rules;
 
 /* writer func called from netlink -- rtnl_sem hold*/