projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f418b00
)
[PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 30 Jul 2008 10:32:52 +0000
(06:32 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 1 Aug 2008 15:25:22 +0000
(11:25 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/ipv4/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index 380d6474cf661d91fb45ef88699c526b23dabd01..a72a5ad46ec5bc39478b59880555c5af4e399ad9 100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-3216,6
+3216,7
@@
int __init ip_rt_init(void)
return rc;
}
+#ifdef CONFIG_SYSCTL
/*
* We really need to sanitize the damn ipv4 init order, then all
* this nonsense will go away.
@@
-3224,6
+3225,7
@@
void __init ip_static_sysctl_init(void)
{
register_sysctl_paths(ipv4_route_path, ipv4_route_table);
}
+#endif
EXPORT_SYMBOL(__ip_select_ident);
EXPORT_SYMBOL(ip_route_input);