24 lines
618 B
Plaintext
24 lines
618 B
Plaintext
|
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
|
||
|
@@ -3437,7 +3437,7 @@ int __init ip_rt_init(void)
|
||
|
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
|
||
|
|