]> git.pld-linux.org Git - packages/ipset.git/blobdiff - kernel-4.17.patch
- up to 6.38
[packages/ipset.git] / kernel-4.17.patch
diff --git a/kernel-4.17.patch b/kernel-4.17.patch
new file mode 100644 (file)
index 0000000..0137012
--- /dev/null
@@ -0,0 +1,11 @@
+--- ipset-6.38/configure.ac~   2018-04-10 23:36:27.000000000 +0200
++++ ipset-6.38/configure.ac    2018-06-18 20:33:55.197510866 +0200
+@@ -345,7 +345,7 @@
+ AC_MSG_CHECKING([kernel source for id in struct pernet_operations])
+ if test -f $ksourcedir/include/net/net_namespace.h && \
+-   $AWK '/struct pernet_operations/ {for(i=1; i<=6; i++) {getline; print}}' $ksourcedir/include/net/net_namespace.h | $GREP -q 'int \*id;'; then
++   $AWK '/struct pernet_operations/ {for(i=1; i<=26; i++) {getline; print}}' $ksourcedir/include/net/net_namespace.h | $GREP -q 'int \*id;'; then
+       AC_MSG_RESULT(yes)
+       AC_SUBST(HAVE_NET_OPS_ID, define)
+ else
This page took 0.033489 seconds and 4 git commands to generate.