mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[PR #184] compat: use ip6_dst_lookup_flow on kernels >= 7.1 #223
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-linux-kernel-module#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/184
Author: @XOlegator
Created: 7/7/2026
Status: 🔄 Open
Base:
master← Head:fix/fedora44-kernel-7-1-ipv6-lookup-safe📝 Commits (2)
f4f2c92compat: use ip6_dst_lookup_flow on kernels >= 7.13bf15c5compat: handle Fedora 44 kernel 7.1 socket and timer API changes📊 Changes
3 files changed (+30 additions, -12 deletions)
View changed files
📝
src/compat/compat.h(+7 -5)📝
src/socket.c(+17 -2)📝
src/timers.c(+6 -5)📄 Description
Fix IPv6 route lookup on kernels >= 7.1 without changing older-kernel behavior
This keeps the existing
ipv6_stub->ipv6_dst_lookup_flow(...)path for older kernels and adds a compat wrapper for kernels>= 7.1, where it switches toip6_dst_lookup_flow(...).Why:
7.1.3-200.fc44.x86_64error: ‘ipv6_stub’ undeclaredValidation:
amneziawgwith DKMS on Fedora 447.1.3-200.fc44.x86_64dkms statusshows the module installed for7.1.3-200.fc44.x86_64modprobe amneziawgsucceedsThis is a minimal compatibility fix confirmed on a real Fedora 44 system after kernel update from the 7.0 series to 7.1.3, while preserving the previous code path for older kernels.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.