mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[PR #144] Fix: Junk packets can go in wrong order if device is behind QoS #203
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#203
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/144
Author: @danpashin
Created: 3/5/2026
Status: 🔄 Open
Base:
master← Head:fix/dscp📝 Commits (1)
6f71e1aFix: Junk packets can go in wrong order if device is behind QoS📊 Changes
2 files changed (+6 additions, -5 deletions)
View changed files
📝
src/messages.h(+4 -1)📝
src/send.c(+2 -4)📄 Description
Description
WG handshake packets have
AF41priority while I1-I5 areCS0and JC is arandomvalue. This behaviour can cause handshake to be processed before all other packets on a device with QoS enabled and break junk flow (on the screenshot). Thus TSPU will apply throttling policies to the flow.Fix
Replace invalid DSCP values with
EF(which is more prioritized thanAF41) for junk and leave handshake one (AF41) as is.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.