[PR #262] fix(compat): add support for Linux kernel 7.0.0-38 #264

Open
opened 2026-10-13 21:08:07 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/262
Author: @fvolkb-sys
Created: 10/5/2026
Status: 🔄 Open

Base: master ← Head: fix/kernel-7.0.38-compat


📝 Commits (1)

  • d7d651c fix(compat): add support for Linux kernel 7.0.0-38

📊 Changes

1 file changed (+19 additions, -0 deletions)

View changed files

📝 src/compat/udp_tunnel/udp_tunnel_partial_compat.h (+19 -0)

📄 Description

Kernel 7.0.0-38 changed the signature of setup_udp_tunnel_sock() to accept struct sock * instead of struct socket *. Add a version check in compat layer and adjust the call sites in socket.c.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/262 **Author:** [@fvolkb-sys](https://github.com/fvolkb-sys) **Created:** 10/5/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/kernel-7.0.38-compat` --- ### 📝 Commits (1) - [`d7d651c`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/d7d651c750188b6801e915c6630f12b223f5308f) fix(compat): add support for Linux kernel 7.0.0-38 ### 📊 Changes **1 file changed** (+19 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/compat/udp_tunnel/udp_tunnel_partial_compat.h` (+19 -0) </details> ### 📄 Description Kernel 7.0.0-38 changed the signature of setup_udp_tunnel_sock() to accept struct sock * instead of struct socket *. Add a version check in compat layer and adjust the call sites in socket.c. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#264
No description provided.