[PR #176] [MERGED] socket: fix build with linux 7.1 #220

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/176
Author: @K900
Created: 6/15/2026
Status: ✅ Merged
Merged: 7/25/2026
Merged by: @ygurov

Base: master ← Head: linux-71


📝 Commits (2)

  • 2a76469 socket: fix build with linux 7.1
  • 48303c1 feat: add compat for ipv6_stub

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 src/compat/compat.h (+8 -0)
📝 src/socket.c (+1 -2)

📄 Description

This also works for older kernels with CONFIG_IPV6=y, but will break if CONFIG_IPV6=m, but I'm not sure that's worth supporting as every distro I know of has shipped =y since forever.


🔄 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/176 **Author:** [@K900](https://github.com/K900) **Created:** 6/15/2026 **Status:** ✅ Merged **Merged:** 7/25/2026 **Merged by:** [@ygurov](https://github.com/ygurov) **Base:** `master` ← **Head:** `linux-71` --- ### 📝 Commits (2) - [`2a76469`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/2a764691e22f15770aa1551ecae12c0431dbd651) socket: fix build with linux 7.1 - [`48303c1`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/48303c111dc8afb9b37b2d8a8475837ba2ea0756) feat: add compat for ipv6_stub ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/compat/compat.h` (+8 -0) 📝 `src/socket.c` (+1 -2) </details> ### 📄 Description This also works for older kernels with CONFIG_IPV6=y, but will break if CONFIG_IPV6=m, but I'm not sure that's worth supporting as every distro I know of has shipped =y since forever. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 21:07:45 +00:00
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#220
No description provided.