[-mm patch] net/ipv4/fib_rules.c: make struct fib_rules static again

STALE7531d

2 messages, 2 authors, 2006-02-04 · open the first message on its own page

[-mm patch] net/ipv4/fib_rules.c: make struct fib_rules static again

From: Adrian Bunk <hidden>
Date: 2006-02-03 21:02:52

On Fri, Feb 03, 2006 at 12:07:04AM -0800, Andrew Morton wrote:
...
Changes since 2.6.15-mm4:
...
 git-net.patch
...
 Git trees
...
struct fib_rules became global for no good reason.


Signed-off-by: Adrian Bunk <redacted>
--- linux-2.6.16-rc1-mm5-full/net/ipv4/fib_rules.c.old	2006-02-03 16:12:48.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/net/ipv4/fib_rules.c	2006-02-03 16:13:00.000000000 +0100
@@ -100,7 +100,7 @@
 	.r_action =	RTN_UNICAST,
 };
 
-struct hlist_head fib_rules;
+static struct hlist_head fib_rules;
 
 /* writer func called from netlink -- rtnl_sem hold*/
 

Re: [-mm patch] net/ipv4/fib_rules.c: make struct fib_rules static again

From: "David S. Miller" <davem@davemloft.net>
Date: 2006-02-04 23:52:14

From: Adrian Bunk <redacted>
Date: Fri, 3 Feb 2006 22:02:48 +0100
struct fib_rules became global for no good reason.

Signed-off-by: Adrian Bunk <redacted>
Applied, thanks Adrian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help