mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[GH-ISSUE #101] October patches broke 3.10 compatibility #60
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#60
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?
Originally created by @achpile on GitHub (Oct 9, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/101
Originally assigned to: @ygurov on GitHub.
Good day!
Latest patches broke compatibility with 3.10 kernel:
9eb888d250e939553f72e543fc2d7fBecause of using functions like:
Also using
mcgrpsandn_mcgrpsinstruct genl_familyAnd
src/netlink.c:1055:8: error: too many arguments to function ‘genlmsg_multicast_netns’PS: I used version
1.0.20240711before.@saqie1393 commented on GitHub (Oct 14, 2025):
awg2 also not compatibale in 3.10.100+?
@ygurov commented on GitHub (Oct 14, 2025):
Hi @saqie1393,
Basically, no. Bugfix is planned, so standby
@ygurov commented on GitHub (Oct 19, 2025):
fixed in #112
@achpile commented on GitHub (Oct 22, 2025):
Good day! Seems like I cannot reopen this issue, but there are still compilation errors.
After
9eb888d:So additional files should be included in this block (src/compat/compat.h:1275)
Next is src/netlink.c
genlmsg_multicast_netnsgotstruct genl_family *familyargument only in3.13.0so this should help:And finally
struct genl_familydid not havemcgrpsandn_mcgrpsmember. So also thing like this should help:I also attached a full patch with what I've done.
amneziawg-linux-kernel-module.3-10-compat.patch
@ygurov commented on GitHub (Oct 22, 2025):
Hi @achpile,
Apoligize, must have missed the places. Thank you for your investigation and patch.
Will have a look on it this week
@saqie1393 commented on GitHub (Oct 23, 2025):
also add in compat.h for armv7 router
@ygurov commented on GitHub (Oct 23, 2025):
Hi @saqie1393,
Do we have a problem with specific kernels or is it a patched one?
@saqie1393 commented on GitHub (Oct 24, 2025):
@ygurov it's for Huawei router running a 3.x kernel the kernel dosent include netlink_ext_ack
@achpile commented on GitHub (Oct 24, 2025):
Could you please also add a version tag after my patch is applied?
Thanks :)
@ygurov commented on GitHub (Nov 4, 2025):
Hi
Apologize for the delays happened. The changes were merged and the tag v1.0.20251104 was introduced.