2010-07-07 11:12:45 +00:00
|
|
|
From: Jeff Mahoney <jeffm@suse.com>
|
|
|
|
Subject: [PATCH 17/31] Fix initialization of ipv4_route_lock
|
|
|
|
Patch-mainline: not yet
|
|
|
|
|
|
|
|
It's CONFIG_PROC_FS, not CONFIG_PROCFS.
|
|
|
|
|
|
|
|
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
|
|
|
|
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
|
|
|
|
---
|
|
|
|
net/ipv4/route.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/net/ipv4/route.c
|
|
|
|
+++ b/net/ipv4/route.c
|
2011-04-19 20:09:59 +00:00
|
|
|
@@ -3370,7 +3370,7 @@ int __init ip_rt_init(void)
|
2010-07-07 11:12:45 +00:00
|
|
|
ipv4_dst_ops.gc_thresh = (rt_hash_mask + 1);
|
|
|
|
ip_rt_max_size = (rt_hash_mask + 1) * 16;
|
|
|
|
|
|
|
|
-#ifdef CONFIG_PROCFS
|
|
|
|
+#ifdef CONFIG_PROC_FS
|
|
|
|
mutex_init(&ipv4_route_lock);
|
|
|
|
#endif
|
|
|
|
|