projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f29b05
)
[IPV6]: Make struct ip6_prohibit_entry_template static.
author
Adrian Bunk
<bunk@kernel.org>
Mon, 21 Apr 2008 09:29:32 +0000
(
02:29
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Apr 2008 09:29:32 +0000
(
02:29
-0700)
This patch makes the needlessly global struct
ip6_prohibit_entry_template static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/route.c
b/net/ipv6/route.c
index 210a079cfc6f44261cc621b1ce827f6bed2af935..1f42bc960bd52d244f6ad7233ff90bc4fb85e667 100644
(file)
--- a/
net/ipv6/route.c
+++ b/
net/ipv6/route.c
@@
-150,7
+150,7
@@
static struct rt6_info ip6_null_entry_template = {
static int ip6_pkt_prohibit(struct sk_buff *skb);
static int ip6_pkt_prohibit_out(struct sk_buff *skb);
-struct rt6_info ip6_prohibit_entry_template = {
+st
atic st
ruct rt6_info ip6_prohibit_entry_template = {
.u = {
.dst = {
.__refcnt = ATOMIC_INIT(1),