From f68264965f4c3c4914def294208a1c9c5ef435ca Mon Sep 17 00:00:00 2001 From: Aleksey Date: Sat, 28 Nov 2026 08:43:44 +0300 Subject: [PATCH] fix(amneziawg): bump the kernel module pin to v3.1.20261113 (#7210) x-ui install-awg-kernel stopped at the DKMS build on Ubuntu 26.04 with a 7.0.x kernel: Ubuntu backported the struct sock * form of setup_udp_tunnel_sock(), and the pinned v3.1.20260906 compat header still passed it a struct socket * on every kernel below 7.1.5, so AmneziaWG kernel mode could not be enabled there. v3.1.20261113 skips that shim on Ubuntu 7.0 kernels with ABI 38 or later; the only other change in it is the version string. The tools pin is unchanged. Built with DKMS against linux-headers 7.0.0-44-generic (Ubuntu 26.04): the old pin fails with the reported error and the new one produces amneziawg.ko. Both pins build against Debian 13's 6.12 headers. --- scripts/install-amneziawg-kernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-amneziawg-kernel.sh b/scripts/install-amneziawg-kernel.sh index a959a16ea..4619ac303 100644 --- a/scripts/install-amneziawg-kernel.sh +++ b/scripts/install-amneziawg-kernel.sh @@ -21,8 +21,8 @@ TOOLS_REPO="https://github.com/amnezia-vpn/amneziawg-tools.git" # Pinned to tested releases and verified by commit, since this runs as root. # Module and tools must share the 3.x series: 1.0 tools send u32 H1-H4 and # `awg setconf` then fails with "Invalid argument". -MODULE_TAG="v3.1.20260906" -MODULE_COMMIT="4569c4c67f3a57414969260cafbbd04694fbaae0" +MODULE_TAG="v3.1.20261113" +MODULE_COMMIT="6879e270797840b148cd71e7fe04d19f9ddbda96" TOOLS_TAG="v3.1.20260812" TOOLS_COMMIT="ee0f0a9aa34ff0a0da4b3433b9512781cfe02843"