Article View: linux.kernel.netdev
Article #5729Re: [PATCH] net/rds: ib: don't enable IRQs in rds_ib_conn_free()
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 21:10
Date: Tue, 20 Oct 2026 21:10
31 lines
9053 bytes
9053 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 16 Oct 2026 23:15:25 +0700 you wrote:
> __rds_conn_create() calls trans->conn_free() with rds_conn_lock held
> and IRQs disabled when it loses the race to insert a connection.
> rds_ib_conn_free() takes the device list lock with spin_lock_irq() and
> releases it with spin_unlock_irq(), so IRQs are turned on while
> rds_conn_lock is still held:
>
> raw_local_irq_restore() called with IRQs enabled
> WARNING: kernel/locking/irqflag-debug.c:10 at warn_bogus_irq_restore+0xc/0x20
> _raw_spin_unlock_irqrestore+0x67/0x80
> __rds_conn_create+0x1de5/0x2290
> rds_conn_create_outgoing+0x43/0x60
> rds_sendmsg+0xfca/0x20e0
> __sys_sendto+0x408/0x5a0
>
> [...]
Here is the summary with links:
- net/rds: ib: don't enable IRQs in rds_ib_conn_free()
https://git.kernel.org/netdev/net-next/c/f6fa1d60ec3c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179253060652.212662.1082879291044254668.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-349587-linux-kernel-netdev=dewy.ruReferences:
<20261016161525.146537-1-ngocthang2710.1999@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-349587-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net/rds: ib: don't enable IRQs in rds_ib_conn_free() Date: Tue, 20 Oct 2026 21:10:06 +0000 Organization: Usenet Network Message-ID: <179253060652.212662.1082879291044254668.git-patchwork-notify@kernel.org> References: <20261016161525.146537-1-ngocthang2710.1999@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3964347"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:QTmAeHExPMzEZO8wlE+m3mmb2a0= sha256:R2YyAmsGO+kC8L2pVh53kExzrBOroAHAqVJ/e1SrsSo= sha1:q6XJuutF2kc3Dz4bzydx67D87Ow= sha256:Rv9Oi3FdGVAPFmXGXYlSF9UkaCqlZnZIr1zGkyzf2UQ= 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 5CF43110E40; Wed, 21 Oct 2026 00:11:38 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 Pez7yKIeBxWa; Wed, 21 Oct 2026 00:11:35 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-349587-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 232BD110E57; Wed, 21 Oct 2026 00:11:26 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 29ED63A5A6; Tue, 20 Oct 2026 21:10:22 +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=1792530614; b=NOYnSak5nsSyMSsCI+MtsvBMvM2T6HlAR67IvBH6zJ6N+U/29ntvLcat2fbqhgyHwxNc ziBhjP4ZnPQAwR3abwR6m/NVuezd/QzpY9HkS5CjQhldfTDq70v5oqP2bciIWHIF4jcbk gEhccn2lEEW1lN8d1VQkmUBjYaot+HNG9n9j73osGgE0MVHa8ZYtu950Pp59pCHWHcbiT VDLs/jg/AFl7LhXtcY9mzL+KFK1opIS9GAqb6eiVANqtDDT9BBk4/ROyPQic6u24F9HMm VLSpGjYB6Dm+kTge8PZkh7i6DslnsjU/GkFY2qFuT4EuZ5QBlXj8Qm3AjK3DQAwV5hg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792530614; 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=X0xBekH/PJ9gQjFX/Kapq3ypB5InSYa5yUK78tk9vTA=; b=bGYCfiTFLe/FnY025UPXmsrvQ6lBdXGV8L3FWL0Gmy5YK4pjaxiLH8F6Ze9Ce//N+lkK 0F8AyOUOaFeniaStQayRMiAbZMLxoHqwmVNnsfdSwLA8YqRzR6w12Sr3Xz+s85VPTN9xZ P8C0TbZ6zHLxHUTm446SfBSx+R23+GuIfhRG8bJgXim1RFbsqlHq14xeCapWSfw/ls2kF dh6nrpcm17djFciEac2sBl0DXxKH2NsW3vWYqZNYXH3DDdKg8LJluIdi6imheP4l2XAuF g0JX4NjjysgXihpK/bqPtW4Es7dKRH8Z5HE5HBS+NH8LT4dH6QUGH0rm9Ld0IQGzMzA== 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=dPNQa97D; 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 9E57460A260D; Tue, 20 Oct 2026 21:10:14 +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=dPNQa97D 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=1792530608; b=pq1CW6voYX1KJtUvwYfEFKFnnvDWRnYOv5efFs5r+WbHUtswm6P7druB7MFSU65LrDfM OFs7tM4iBJ10h+HXVeO5fS1ou2zSL9B7DAH506TfmIn8WFpFQeKi6XkcZ3Ks9BfDzn5/D oo+2/MmQTzS0RIc6ty1iP/KUlmcZ5i2NAbv8I7YlKae3BKj/YZY8VRdeas+NwDvYqwHFU 2Q+NJ459jEBSdnFTvDsWFpjo0gsSYR5W8cnKso6OpbEgmCRHxJwu5TkwaRBaPIqqkOtTv /nzfQ+HHLf3m9feYeYygz2MB46ZFLNtzlnzYnLLjwwy8ES/rcE+2NqQklb2BZtt8DOw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792530608; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=X0xBekH/PJ9gQjFX/Kapq3ypB5InSYa5yUK78tk9vTA=; b=tjliTORrR0PhT671F9/EicoWvsOzT6gw4acCtKRkqwkL7hafvAEvwhi9UWGYftaTnbcj dPbet9y8imj6Yu8AdBYNGT8nSljSck97avl7wPXN2OznYayBUugvhLEz4wXLahxsueck0 jxdxZhHnDl6zvRpMx8Kb1qla+bIU72AYLFskrJrq/vlpDvUFx1gta3RdrMEW5BOM0cksf 0dj5F7G2OUwu5fBanqW1OLfZ6ANpXjnAPTNiilJ8mXUoibvthk9Q5jMHncTKLcrW/erDi V9AK5t0Q/zMfB8dUI1DgRgKINSjMpG6OCvKi91aJ9LZ+PSoI6Aljm0iN74oJhZbDz3g== 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=dPNQa97D; 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 5D9E9606A31A; Tue, 20 Oct 2026 21:10:08 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05F7A1F000C9; Tue, 20 Oct 2026 21:10:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792530608; bh=X0xBekH/PJ9gQjFX/Kapq3ypB5InSYa5yUK78tk9vTA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=dPNQa97DtfrVj0XNh52qGlFnxb165lQIMi8qaWHuZ5vLFIcyEHJMPVaikmpc/wZCb Xaohi6BIwGUG4RsPo18DP0Tz7DLVoUNngGBUGFLb5nSV2dY9DWp4N4+kO735Q0DfNU vTYhNvnfCHTTAQbsS1Yo2rcm0j9oGy1XuqOFeYPno+Jx/hoYGkWfPrWtq9cREd0EIB IebA9nfD+l+iT1x9qhcPahxgZV4MOjCkTcupxybJMtnxCaXCmUeA5MI4mWff39U5aN u/6a0tcxUoOSfIe06cvgNQv3j6FhKPupn1iOwAFc3Q2W99iH5atZzsDfriyzaHJhJP iTQyBlQgNIBFQ== 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 F16363809A09; Tue, 20 Oct 2026 21:10:07 +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: <20261016161525.146537-1-ngocthang2710.1999@gmail.com> X-Cc: achender@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org, syzbot+c3741bb338b5c6d6a4aa@syzkaller.appspotmail.com, stable@vger.kernel.org