mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[PR #129] [MERGED] fix: use ifdef for COMPAT_CANNOT_USE_PCPU_STAT_TYPE #197
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#197
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/129
Author: @Slava-Shchipunov
Created: 12/24/2025
Status: ✅ Merged
Merged: 12/29/2025
Merged by: @ygurov
Base:
master← Head:fix/fix-interface-stats📝 Commits (2)
da00eacfix: remove COMPAT_CANNOT_USE_PCPU_STAT_TYPE guarda1f6216fix: use ifdef for COMPAT_CANNOT_USE_PCPU_STAT_TYPE📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/device.c(+1 -1)📄 Description
The compatibility guard breaks ndo_get_stats64 registration on recent kernels, causing missing or incorrect network statistics reporting.
This resolves issue #120.
The change was tested in OpenWrt builds, where the module works correctly and network statistics are reported as expected (link to patch).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.