yoff
], [
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
- if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 9; then
+ if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 12; then
yon
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
yoff
#include <linux/netfilter_ipv4/ip_tables.h>
#include <net/tcp.h>
#include <net/udp.h>
-#include <asm/unaligned.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
+# include <linux/unaligned.h>
+#else
+# include <asm/unaligned.h>
+#endif
#include "xt_ipp2p.h"
#include "compat_xtables.h"
#if !defined(CONFIG_TEXTSEARCH_BM) && !defined(CONFIG_TEXTSEARCH_BM_MODULE)