summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJhonata Poma-Hansen <jhonata.poma@gmail.com>2026-10-27 15:04:02 +0100
committerJakub Kicinski <kuba@kernel.org>2026-10-29 09:15:16 -0700
commite615d0a8b20161fd470ca2748001105bcd3c44b1 (patch)
tree917c3f1132d4d0b288c6cbbed359a3a4cdf9c099 /include/linux
parentb45d37740cfb4bdfccef3fbd9fd970fd3224438f (diff)
downloadlinux-e615d0a8b20161fd470ca2748001105bcd3c44b1.tar.gz
linux-e615d0a8b20161fd470ca2748001105bcd3c44b1.zip
selftests: net: netlink-dumps: start a dump with a notification queued
Add a test which starts a link dump on a socket with SO_RCVBUF 2048 while a link notification is still queued, after a large read made the kernel attempt large dump skbs. It reads like libnl does, peeking before each read, and expects the dump to complete with a zero status and at least one link. The notifications come from bringing lo up and down, so the test runs in its own netns and is skipped without the privileges to create one. The test fails without the previous patch. Signed-off-by: Jhonata Poma-Hansen <jhonata.poma@gmail.com> Link: https://patch.msgid.link/20261027-netlink-dump-livelock-v2-2-c4bb05352a33@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions