🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8645

Re: [PATCH net v2 0/2] netlink: fix a dump livelock with a notification queued

#8645
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 16:30
30 lines
9117 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 27 Oct 2026 15:04:00 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/2] netlink: check sk_rcvbuf before charging the dump skb
    https://git.kernel.org/netdev/net/c/b45d37740cfb
  - [net,v2,2/2] selftests: net: netlink-dumps: start a dump with a notification queued
    https://git.kernel.org/netdev/net/c/e615d0a8b201

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179329141429.559085.11181386542517865793.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353384-linux-kernel-netdev=dewy.ru
References: <20261027-netlink-dump-livelock-v2-0-c4bb05352a33@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353384-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 0/2] netlink: fix a dump livelock with a
 notification queued
Date: Thu, 29 Oct 2026 16:30:14 +0000
Organization: Usenet Network
Message-ID: <179329141429.559085.11181386542517865793.git-patchwork-notify@kernel.org>
References: <20261027-netlink-dump-livelock-v2-0-c4bb05352a33@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2051054"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ol1CT0Q61yzb9Fmz/Xl1WdSQ6V8= sha256:y6JczAM1BR0A2/6+MBp8npSud9p2nH0LVH10ECbt5g4=
	sha1:RS2zuocLFIq46yFPXVGIBOHKx28= sha256:tqLQFc4sFwMVqqRsxkKl7AjwhjysQ8rdvr7F+zj99xM=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 55B71125C6C; Thu, 29 Oct 2026 19:45:28 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ssrlEz09uB1z;
	Thu, 29 Oct 2026 19:45:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-353384-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id A4850125C69; Thu, 29 Oct 2026 19:45:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id E45F92C8BC; Thu, 29 Oct 2026 16:31:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793291422;
	b=TpJN1tCQZrIzKmk3nz2/Cz5k6uMEY5rg4RmYP3IcxrYPBRQe8HFVn7qn9iPOHyF1u3s5
	 +CaTjBM9PjdLhcdK25bPex3OwIqrf61m+z4xjuRMSzux77WEBR7o+I8kTc+Ezn3vJufqp
	 sUHTJ/GGRrdoq3scS2GeYAWikk+RCXKimlyTfmfueA+pOwM1yTy9Xg2PmwQsPwKt+dZy8
	 ZRlFPmekfnfCJ9P15DiCg0/NuWqgTQkT3zLouG4bV5xyavtOHJZNiBJr6Sya6PLIhERT2
	 HmJAtpXdp39Wbf+w/PSb211hBnYXtviTFpREPjRHS1NJTF1CVVfOYAaOhGgDnROHzEQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793291422;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=07wAKIgBbqyUiCgKm5ItFjbWQ4Eap7GJ2/EZS88oDWU=;
	b=3GN0JsEuEGSGbUtNnIna1qTSUQYQZ9gC92h5JhALV8s7SeLwPMH+hYyDbc8lf6w7cXer
	 DVq0SSkQvvR2sXsZu5pKAqAiXv27TBEmttMT/WFRs9nRzxqPV1ZZXcvEHp6XOxSO7jmSa
	 WQSJtNlgpTWjiYGz6DjRL51Quw6RkzRC23zephiuPjENl1UGNxfRjmqoYJZNRCGpu9SOM
	 FmbDF85MREhMzbrLfJW4TdRwMGRDLxikA7VlYK4ZsogFkAMLrbd44FZKRHFIQeVWIv5EU
	 fzRHX1A7vVQ1GtGhVyJxNM/u6wjPTGDjngK6LXPgCi3F2m7Ub2Mj7n5Glz1cVOq6kag==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XHwI7sSV;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C19960A5BC4;
	Thu, 29 Oct 2026 16:30:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XHwI7sSV
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793291416;
	b=gNaPwuRUCxEYtnujxkw49TMRxIvs14RE4ic2gFifyarcxcneVmqRzyUbQlhKK0E6QQfT
	 CPoHuPUphY5jyGg5vFIcQJ5owizVDQkGeq9mK6Mi3TI26ik+BcIL8yMCZ3I2KHGfhGCUy
	 K4Gcxc6JuxUeBfX5XKJHI6W7ojqtVGox/LklMxNsHZ7XFZaRc/2Ye7FVNJV1gMDitGOeV
	 HQhdwlyfXrgHjPWRpHubNDL4vEMef0vj6V30S4VowFht+Vq4xpOm9IkDxUIVx7RVyV5AQ
	 eDqRxsi173BRVoJuZCm03mL2yro+z1i3iPMYzk4NUV7fl8jJxFha7HGYiuY9YyjYSFg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793291416;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=07wAKIgBbqyUiCgKm5ItFjbWQ4Eap7GJ2/EZS88oDWU=;
	b=uKcMzYuV8THYjR7Hf9eOIg6A138uqAjsfG4/NY/l0ftb1x+a1+BrPkttzUlBdLwPUfsg
	 kF7oP6UDM+f4BHDq70WneDkcoGoUdx5nkUmyP8pUjnxQRbHiWovQYK8XM3bhUDJSjChwq
	 NfRWCeufBNdoKpPOGV7XkKD6OvH0jvzrHy2kYUW3zoJ+yxEX27EFryh2x1i6xPu1rXH7m
	 hofCDp++yqkqKRQwLD/hOuLFAvORBWVQki3PE2MSpkeVhlHkChN/gQsZQwUcBKccXFRkm
	 penaSCTzvtRvBUMomq+nsnIrK+4M7Qg3zYTJdwvB3nOmzcWM67z7T7rdN/zAZ/f4XTA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XHwI7sSV;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2850C60A3812;
	Thu, 29 Oct 2026 16:30:15 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C366E1F01825;
	Thu, 29 Oct 2026 16:30:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793291415;
	bh=07wAKIgBbqyUiCgKm5ItFjbWQ4Eap7GJ2/EZS88oDWU=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=XHwI7sSVAP2ein0jgJ6wWuxpDlRMVOnurQNpmBSYr4nvdIetjLecztPtBkFCJ3Lpz
	 w6dx+MQ8F1uu9q3kj4+SKkrZzMiT+YQuSEeC1raOkrPGKV4i/P9zxrmceGcoHEiSfm
	 XD1+kicFGNAmJPcdchA1BBPEI4wVQsKyXrVS7KxHPn2N9joboIVyGV5v3hrc4xqvO9
	 amvpnj4bVZ0VBHsJKk6nH4mj1nedClFhGonUuiWmXaKzhotjTtSONUgHuHgakeuePL
	 EuN8OIwVNhunJSvkxiNfijzPqobDZH7GzZaed7H17vk2lbTPjeaxvvTwVBwT+raIl+
	 V8cWprrMJaS0g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA2263808223;
	Thu, 29 Oct 2026 16:30:15 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261027-netlink-dump-livelock-v2-0-c4bb05352a33@gmail.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, shuah@kernel.org,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
 linux-kselftest@vger.kernel.org, kuniyu@google.com, m.szyprowski@samsung.com