Article View: linux.kernel.netdev
Article #9686Re: [PATCH net] netlink: Do not call the unbind callback with the table locked
From: Anil Kaushik
Date: Mon, 02 Nov 2026 14:35
Date: Mon, 02 Nov 2026 14:35
35 lines
13264 bytes
13264 bytes
Sorry , missed adding Stanislaw and Jiri Anil On Mon, Nov 2, 2026 at 6:23 PM Anil Kaushik <anilkaushikwireless@gmail.com> wrote: > > On Mon, Nov 2, 2026 at 5:43 PM <netdev-bot+sinfo@kernel.org> wrote: > > > > Hi! > > > > This is an automated message. This series looks like a fix, but its > > commit messages seem to be missing some information: > > > > - Whether the issue was actually triggered, or is only theoretical > > (e.g. found by code inspection). If it was triggered please include > > the symptoms, like the stack trace or error messages. > > > > Please do not repost the series just to address the above. Instead, > > reply to this email with the missing information, so that reviewers > > can take it into account. If the series needs another revision for > > other reasons, please include the information in the commit messages > > then. > > > > The evaluation is done by an LLM so it may be wrong, if you think > > that is the case please reply and explain. > > Found by Sashiko, not seen in production. I triggered the hang in a > VM, with a test-only msleep() to widen the window. It does not hang > with this patch. > > Regards > Anil
Technical Details
Message-ID:
<CAG0Mgm-O57x8VqpivQQYXxNFrCqsXkQFmZph58wmHQKq6E0m=Q@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354758-linux-kernel-netdev=dewy.ruReferences:
<20261102120929.4077030-1-anilkaushikwireless@gmail.com> <179362163558.3286.5335895869912806815@kernel.org> <CAG0Mgm9t=ag05xgP8f0++x0sNG6nOt9zDWbtoKLtgnhnpgm3Dw@mail.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-354758-linux-kernel-netdev=dewy.ru
From: anilkaushikwireless@gmail.com (Anil Kaushik)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] netlink: Do not call the unbind callback with the
table locked
Date: Mon, 2 Nov 2026 20:05:57 +0530
Organization: Usenet Network
Message-ID: <CAG0Mgm-O57x8VqpivQQYXxNFrCqsXkQFmZph58wmHQKq6E0m=Q@mail.gmail.com>
References: <20261102120929.4077030-1-anilkaushikwireless@gmail.com>
<179362163558.3286.5335895869912806815@kernel.org> <CAG0Mgm9t=ag05xgP8f0++x0sNG6nOt9zDWbtoKLtgnhnpgm3Dw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2950260"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Q2QTEjmdOvBXLBiLv4DxDT4oGa4= sha256:9Y7cA1yYC9ZLOW2+M09FBMuJ/puai1FaCsKQsT+S32Q=
sha1:mgXPSlhmH4t1UP4XkTcV1QWPJH8= sha256:I2pS6+N8QSjXGWHNDBTUpffkzBBtKIV6bu+VCYewyUo=
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 08BFB112544; Mon, 2 Nov 2026 18:01:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=gmail.com
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 KwJQC6Ovs2u7;
Mon, 2 Nov 2026 18:01:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-354758-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 264621124DC; Mon, 2 Nov 2026 18:01:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 623EF60E833; Mon, 2 Nov 2026 14:52:02 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793630172;
b=IO70j1UhX7NFa+9fy1kqPdjPoH9lL8eRM4jAUywMkjqQ0BwdRZPNFdGklAdneoYKma1O
b/Y2jPe/y6KjqUBOBnsA8McH0GkmrUyQHVPnrvZJSJHSrOG2HFF1EjG5GijonbsO/fPcf
N13H8fsInxVqE8l35zaw/CYmSmmIRObXvDGZiMSU04jaMnQVFgdxFc2d5kfdBiywpGKxI
+7sSetAFAMW4c5bKx4v9L2sWwAfdVCS+7ToGJhB20Dau4ZjSfYGZnVejTcgDi4hLNtICf
K94uQsaLpRWy3GYFVPkgG/I0/4ZwVPa8v7pYIk5BA7nqo6EtJhU9+4C8JsSEsXeMaew==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793630172;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=HZghXhMFCJS70WDNqvvmOeWSzO8R24cAAyoTNl/owqg=;
b=sRssrIQMKrcXWLOIfJg7ck3ODyNGfr3GQ9oBSjDl2boq7xqMZk5xCrhmu3w6JxbsJSb8
NABPlnaBxfyQGdF48xHnD/i3fP1PY11ai4LFCiGUXQ1CFk3LCAHWVryhOistPxy3GH3og
8mowwPoemvKQIFZ3fwlk0zKbCS7ZL8lqQo9ms1fMGw6JCrBmdyvQSndAW/wcrV22KeHCU
bPJcQL/cIm70fZFlOa1H0Y+Xbj+ZvoWVO0mDOuANHw6X/vagQnBXocvc5Guca+OFb9fUt
H1S2mKGbX1WoojvsNOcL8Rwo9XzEhgOy2LVveSng6Q5aRPfTw0hzaEfIEdEx8+aMQxw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ZqXqd1lH;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
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 6976360771CA;
Mon, 2 Nov 2026 14:36:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ZqXqd1lH
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.167.47
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793630171;
b=iQJ1RB35mX3faQLH/l49WR0FAEBFjYp05cfXkxR+0GRR28/4X7l2Jv998/7NJxocpD8E
vYf9F7EUkiBrvVDE7XRpktWvJ2HeL6ss/x8YXO4/94Zu4sAQtsGwT+QdKgvw8VzBgA6+t
g0YAxhrtGr2zjvwWm9G+HAOGiBVP/7cZHhclKqK30QdyUu0y+/eveEdjwKVW389btxDbB
Tk2AGOObZZSgIl+oNZwrwbgeMBJrCSyDIvF+4rxRRHD2EmM2m3yHFeaHYAcwL7bw0eRtz
zUHklmvmxTSUZkx1ORqjIewgfqJGQglCp6V0WlQOedR9HTdS/G3KdCSn3UUlkXswR/A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793630171;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=HZghXhMFCJS70WDNqvvmOeWSzO8R24cAAyoTNl/owqg=;
b=us5dBv28hJlBkC2AQF74wmKm69otWIwBfqOTqkCu6uFXcb+OLRaPmN1azxIg1/Le3p1j
t3ADGdKCwVa/CC1Ghhm+HfdPRsXighDoKuBNfswNtOIond3HNsPMqwN9ZVAqbVR55iRep
AKIJVSrL7CpeHuQuPhhe6SPVs35ZWR9xMqQJx1vLH6YVWPKtBTHaH7rIKHEUzNX23uns5
fvaS6E0nFBEWjxfCKZxyRmWWUzddfXcXpCGiTkUApCSNZa9eQnmb6sDmmIVg+/1GdL4JS
EtwNJR1Km8wQ3utakaw39zFkz/6S+aDvg03IcyYhRIXBczA4VNmcNSoRsuGhjyz4hmQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ZqXqd1lH;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.167.47
X-Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D658606D808
for <netdev@vger.kernel.org>; Mon, 2 Nov 2026 14:36:11 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3D658606D808
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5bb7c6980f1so2996653e87.2
for <netdev@vger.kernel.org>; Mon, 02 Nov 2026 06:36:11 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1793630169; cv=none;
d=google.com; s=arc-20260327;
b=calvmK2FmA6wIDqo0xP6dRVabXoRwGx0ZMQLzKPxWhdeT6RMgX06jB9EHUJazCvZCZ
PdhuBc4TfUxZd385Dj0L/xLnZz8uOt9Re3jBPC7OoOiX/1X5MH35qllVVvBzLu8/Kzqa
t4kYXZWeOk4eDKQ4QBb1mWrVjaw8z5/xXnQ+Qfw6INxFfNPet0FiR1en8RGOnTOFtH8n
4y3h3aLE7Vk3gDRnJ1Z1Oq267RZLDJmU+GsqK+PE3UPxmiqrh0rr8/Vkp6up8+1DXm7n
/n7RSjfmw/KSfnSzAnsSbHkidfB/xERzErvjlzaLPKu5/vgMlotxjl7cpGIzLLHWpEgL
8KZA==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=HZghXhMFCJS70WDNqvvmOeWSzO8R24cAAyoTNl/owqg=;
fh=RHyf8zTVlMVHoArF44O3PTiSWJwSqgT0sszdhWfVXts=;
b=ifGcCIBVMVUsyiGradHZpaYOkn1a7COujPQ+ELf7om5+uP/W3Q5p18o/ux80k1DkQX
TeZC+vkRd5wz0tGR19fmEbGJyw1pNE6ekgrZz38jjMZud0mBSDsdRVhpXMstAc7HPYmw
zdPr2qUCfsXRF7HzhGiY2rnyqFweHykpW6dkANhTRK1Ej9uG216KUVuNJBcwaDCdOCPc
5AMoxF/O5qek0H8eB9tAjZhrrtuTMODLTtH9BFfTFf7xhF4aTqPAF0PUEGilbdorp5LY
78uI669imL6RAgcuDUXef7KVW5gg5rA0RftJdXGzTGCIr5RomU7sE6SK1Alvy2nfx8k1
8xRw==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1793630169; x=1794234969; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=HZghXhMFCJS70WDNqvvmOeWSzO8R24cAAyoTNl/owqg=;
b=ZqXqd1lHkyXB3w898qH/EyuKRgPF8azcBo3ws910pWQOSRQxpHTevDPReJeLi/FVDf
x+Q8yuM2jQHToQ8rLjKQ7qWnGjbk/aWwQTSFufi2EGYaswaRVUBtfjcqlzOJ+ZPJ6cF8
sB7PEmBPBiisNpFZV+GcDAQYzeKCU+e+AEfy+PJkrMcBOWdBzlVWotauC2d9/iFBh/65
VlxYbzJHoniNss28lOiqSJMQI+QbNptxnZRBD/LSTZIV38lAFfCB+0A3RVfQLNi1NhYO
FG7LFih+ylIZMFsh2mz6OCmJkS6wGedHMS6ZHIBdGXkYAohAoRcNvzZ7ewHwUwzJqJ5w
7kEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793630169; x=1794234969;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=HZghXhMFCJS70WDNqvvmOeWSzO8R24cAAyoTNl/owqg=;
b=RfCW2MHOcboKGHFX+HywUd3AungfV2MvRi4SYgToDJXBpxEZg43gKD3RVwNLbBa9Sk
6n9IBVakTXVbXUvdNpWyOZaIxhaMVs3QS0rGoibLUUga9FE/57RJAya0cTLaexAS1ZN+
WV7mIoMxrEX7zXqdeWhZCZr5urLHZbiHxzXv+upnEIk3kp0gT/yMK0yiAJWVrFOKKAO4
wFwsXkrJaLo8ItBAYusOfCrD5MShd3mDw9nyBsRJGR17sPORgk/bYIIs4j5HB9Zrc8Cb
SBcb5Al0pYqQTZdoPqzms54ShJcgDPWw3aszerLGJqy3Aln32i4TTQn6DG5wklpUjmfQ
CkRw==
X-Gm-Message-State: APuU4Z+k5hqbBchiazNz4J/LarKEYCn1WNk+1QYN3rUvNI2pFXtC3FP8
tntkcxVhOVAKtnS6tZWg9W4Kdwoqm65eQFuRDGsFga1mFusv3qCUXvBgE2c3CxuGFSQUAfP2Hsf
V0Vad6E1NjEYOLaPLcm1R8HhDrDQKXYc=
X-Gm-Gg: AYBFou1WfbQX/FkZWNQDu/3hbXEAQU8xqtLqy2x0a3CHZTLGt8yN0MGNWcAfd2iQMb4
zrsa68wZ324e0ZXFQDi0TJ8wfMUs3gE5Qx0hRqkTEo1taiGof1vbxwhQ5kBf1HdHIW+RLqZytQQ
Hf4LfKFnDLIj3p1+ZCkAxLhGey5zccyLpEclkDtGrBSsOhTG7SqD9VYyo/Tl+e991Ga+i9HCt38
cjTwgcqNbIZcFBxF8Hy56yvnS3IVsJuLa5Sp57/J45kkWDUL8fdMlLKA0jOJ6ghp3mhAY9ryLNH
V+cOSfLMCQBLKrEDEAWhBWDts5+FykpgNyVGpFHqbdq5mG2ezzD9ih989bBnhIBMRY8YK7vEXMC
YjrzujkBcHxD7+z/qsJkzZrar7yL5ZwCZWeAu
X-Received: by 2002:a05:6512:1111:b0:5be:5209:9f1e with SMTP id
2adb3069b0e04-5bfd9560832mr3208623e87.19.1793630169203; Mon, 02 Nov 2026
06:36:09 -0800 (PST)
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: <CAG0Mgm9t=ag05xgP8f0++x0sNG6nOt9zDWbtoKLtgnhnpgm3Dw@mail.gmail.com>
X-Gm-Features: AclHuK-Whg2x1OFkVQJyY67gQO23WC_731REREy_bPWfAluMe-tC1psOHzJ0jC4
X-Cc: netdev@vger.kernel.org, "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>, Nicolas Dichtel <nicolas.dichtel@6wind.com>,
linux-kernel@vger.kernel.org, stanislaw.gruszka@linux.intel.com,
Jiri Pirko <jiri@resnulli.us>