OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b191be
)
[IPV4] fib_rules.c: make struct fib_rules static again
author
Adrian Bunk
<bunk@stusta.de>
Tue, 21 Mar 2006 01:46:56 +0000
(17:46 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Mar 2006 01:46:56 +0000
(17:46 -0800)
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>
net/ipv4/fib_rules.c
patch
|
blob
|
history
diff --git
a/net/ipv4/fib_rules.c
b/net/ipv4/fib_rules.c
index
7b462a3
..
768e8f5
100644
(file)
--- 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;
+st
atic st
ruct hlist_head fib_rules;
/* writer func called from netlink -- rtnl_sem hold*/