summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-22 10:31:08 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-22 10:31:08 +0100
commit905b3981fa9c05b6f6da27453e5f913ceae7df28 (patch)
treeb9607b35f5f17ba949c355a79ddb33fad58c5ae1
parent1aea91818d2c0d5949005724b669699025a4c7bf (diff)
Add UPGRADE instructions
-rw-r--r--README4
-rw-r--r--UPGRADE19
2 files changed, 22 insertions, 1 deletions
diff --git a/README b/README
index b680f69..73c9cb0 100644
--- a/README
+++ b/README
@@ -1,4 +1,6 @@
-This is the ipset source tree. Follow the next steps to install ipset:
+This is the ipset source tree. Follow the next steps to install ipset.
+If you upgrade from an earlier 5.x release, please read the UPGRADE
+instructions too.
0. You need the source tree of your kernel (version >= 2.6.34)
and it have to be configured with ip6tables support enabled,
diff --git a/UPGRADE b/UPGRADE
new file mode 100644
index 0000000..f20810d
--- /dev/null
+++ b/UPGRADE
@@ -0,0 +1,19 @@
+ipset 5.x upgrade notices
+
+- From ipset 5.0-5.3 to 5.4:
+
+ Due to the source code reorganization, some macros were moved to
+ the netlink.patch. Therefore when upgrading, you have two choices:
+
+ a. force the application of the new netlink.patch
+
+ kernel-source-dir # patch -p1 -f < ipset-5.4-dir/netlink.patch
+
+ b. remove the earlier netlink.patch and apply the new one:
+
+ kernel-source-dir # patch -p1 -R < ipset-before-5.4-dir/netlink.patch
+ kernel-source-dir # patch -p1 < ipset-5.4-dir/netlink.patch
+
+ You do not need to recompile your kernel.
+
+ Of course the kernel modules in ipset-5.4 must be compiled and installed.