mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[PR #180] Replace deprecated functions with alternatives #222
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#222
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/180
Author: @paveloom
Created: 7/1/2026
Status: 🔄 Open
Base:
master← Head:deprecated-functions📝 Commits (2)
70e7215Replaceprandom_byteswithget_random_bytes0eeee91Replaceprandom_u32_maxwithget_random_u32_below📊 Changes
1 file changed (+18 additions, -18 deletions)
View changed files
📝
src/selftest/allowedips.c(+18 -18)📄 Description
This PR replaces the following deprecated functions:
prandom_byteswithget_random_bytesgithub.com/torvalds/linux@d4150779e6andgithub.com/torvalds/linux@197173db99prandom_u32_maxwithget_random_u32_belowgithub.com/torvalds/linux@3c202d14a9This fixes the build with
CONFIG_AMNEZIAWG_DEBUG=ythat is currently broken for Linux kernel versions >= 6.1:This is in response to a downstream Gentoo bug.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.