diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-10-29 09:15:50 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-29 09:15:51 -0700 |
| commit | 5bc3aaaa2d1cd1f8988ee1dceffaa8831a30c832 (patch) | |
| tree | 917c3f1132d4d0b288c6cbbed359a3a4cdf9c099 /include/linux/hyperv.h | |
| parent | c9897252a66b43a17d04c19bc7303fd6539a56ba (diff) | |
| parent | e615d0a8b20161fd470ca2748001105bcd3c44b1 (diff) | |
Merge branch 'netlink-fix-a-dump-livelock-with-a-notification-queued'
Jhonata Poma-Hansen says:
====================
netlink: fix a dump livelock with a notification queued
A netlink dump that starts while a notification is still charged to a
socket with a small receive buffer fails with ENOBUFS, and every retry
from recvmsg() fails the same way. A reader that peeks before reading,
as libnl does, never consumes the message at the head of the queue and
spins forever. I hit this with "iw dev wlan0 scan" on an arm64 board.
Patch 1 goes back to checking sk_rcvbuf before charging the dump skb,
as before commit ae8f160e7eb2. Patch 2 adds a selftest; it fails
without patch 1 and is skipped without the privileges to create a
netns.
====================
Link: https://patch.msgid.link/20261027-netlink-dump-livelock-v2-0-c4bb05352a33@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/hyperv.h')
0 files changed, 0 insertions, 0 deletions
