Patch560: linux-2.6-560-mmconf.patch
Patch570: linux-2.6-570-tagxid.patch
Patch590: trellis.patch
+Patch591: linux-2.6-591-unshare-netns.patch
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
#
%if 0%{?_with_netns}
%ApplyPatch 590
+%ApplyPatch 591
%endif
# NetNS conflict-resolving patch for VINI. Will work with patch vini_pl_patch-1 but may
--- /dev/null
+--- linux-2.6.22-591/kernel/vserver/space.c.orig 2008-01-02 13:56:26.000000000 -0500
++++ linux-2.6.22-591/kernel/vserver/space.c 2008-01-18 12:10:39.000000000 -0500
+@@ -37,7 +37,8 @@
+ .mask = CLONE_NEWNS |
+ CLONE_NEWUTS |
+ CLONE_NEWIPC |
+- CLONE_FS
++ CLONE_FS |
++ CLONE_NEWNET
+ };
+
+
+--- linux-2.6.22-591/kernel/nsproxy.c.orig 2008-01-02 13:56:37.000000000 -0500
++++ linux-2.6.22-591/kernel/nsproxy.c 2008-01-18 14:39:18.000000000 -0500
+@@ -163,7 +163,6 @@
+ return 0;
+
+ get_nsproxy(old_ns);
+- return 0;
+
+ if (!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWUSER | CLONE_NEWNET)))
+ return 0;