[PR #152] fix: make device attribute dumps resumable #206

Open
opened 2026-10-13 21:07:37 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/152
Author: @fviolence
Created: 3/15/2026
Status: 🔄 Open

Base: master ← Head: master


📝 Commits (1)

  • ce54523 netlink: make device attribute dumps resumable

📊 Changes

2 files changed (+129 additions, -64 deletions)

View changed files

📝 src/compat/compat.h (+1 -2)
📝 src/netlink.c (+128 -62)

📄 Description

Large I1-I5 strings can overflow the first GET_DEVICE dump skb and abort awg show/showconf with -EMSGSIZE.

Emit fixed attributes atomically and resume I1-I5 from a cursor across multipart replies. Keep legacy dump-context storage compatible.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/152 **Author:** [@fviolence](https://github.com/fviolence) **Created:** 3/15/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ce54523`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/ce545232685da22a11c56f536ff619ce5d61d7bb) netlink: make device attribute dumps resumable ### 📊 Changes **2 files changed** (+129 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `src/compat/compat.h` (+1 -2) 📝 `src/netlink.c` (+128 -62) </details> ### 📄 Description Large `I1`-`I5` strings can overflow the first `GET_DEVICE` dump `skb` and abort awg show/showconf with `-EMSGSIZE`. Emit fixed attributes atomically and resume `I1`-`I5` from a cursor across multipart replies. Keep legacy dump-context storage compatible. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#206
No description provided.