]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.suse/SoN-20-netvm-reserve-inet.patch-fix
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / SoN-20-netvm-reserve-inet.patch-fix
diff --git a/src/patches/suse-2.6.27.31/patches.suse/SoN-20-netvm-reserve-inet.patch-fix b/src/patches/suse-2.6.27.31/patches.suse/SoN-20-netvm-reserve-inet.patch-fix
new file mode 100644 (file)
index 0000000..0a8e2f2
--- /dev/null
@@ -0,0 +1,22 @@
+From: Jeff Mahoney <jeffm@suse.com>
+Subject: [PATCH] SoN: Fix initialization of ipv4_route_lock
+References: bnc#435994
+
+ It's CONFIG_PROC_FS, not CONFIG_PROCFS.
+
+Signed-off-by: Jeff Mahoney <jeffm@suse.com>
+---
+ net/ipv4/route.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/net/ipv4/route.c
++++ b/net/ipv4/route.c
+@@ -3330,7 +3330,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