]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Jeff Mahoney <jeffm@suse.com> |
2 | Subject: [PATCH] SoN: Fix initialization of ipv4_route_lock | |
3 | References: bnc#435994 | |
4 | ||
5 | It's CONFIG_PROC_FS, not CONFIG_PROCFS. | |
6 | ||
7 | Signed-off-by: Jeff Mahoney <jeffm@suse.com> | |
8 | --- | |
9 | net/ipv4/route.c | 2 +- | |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
11 | ||
12 | --- a/net/ipv4/route.c | |
13 | +++ b/net/ipv4/route.c | |
14 | @@ -3330,7 +3330,7 @@ int __init ip_rt_init(void) | |
15 | ipv4_dst_ops.gc_thresh = (rt_hash_mask + 1); | |
16 | ip_rt_max_size = (rt_hash_mask + 1) * 16; | |
17 | ||
18 | -#ifdef CONFIG_PROCFS | |
19 | +#ifdef CONFIG_PROC_FS | |
20 | mutex_init(&ipv4_route_lock); | |
21 | #endif | |
22 |