[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176424541100.1853134.12455314070226986319.b4-ty@kernel.org>
Date: Thu, 27 Nov 2025 07:10:11 -0500
From: Leon Romanovsky <leon@...nel.org>
To: linux-rdma@...r.kernel.org, Stefan Metzmacher <metze@...ba.org>
Cc: Bernard Metzler <bernard.metzler@...ux.dev>,
Jason Gunthorpe <jgg@...pe.ca>, netdev@...r.kernel.org,
linux-cifs@...r.kernel.org
Subject: Re: [PATCH v2] RDMA/siw: reclassify sockets in order to avoid
false positives from lockdep
On Wed, 26 Nov 2025 16:08:42 +0100, Stefan Metzmacher wrote:
> While developing IPPROTO_SMBDIRECT support for the code
> under fs/smb/common/smbdirect [1], I noticed false positives like this:
>
> [T79] ======================================================
> [T79] WARNING: possible circular locking dependency detected
> [T79] 6.18.0-rc4-metze-kasan-lockdep.01+ #1 Tainted: G OE
> [T79] ------------------------------------------------------
> [T79] kworker/2:0/79 is trying to acquire lock:
> [T79] ffff88801f968278 (sk_lock-AF_INET){+.+.}-{0:0},
> at: sock_set_reuseaddr+0x14/0x70
> [T79]
> but task is already holding lock:
> [T79] ffffffffc10f7230 (lock#9){+.+.}-{4:4},
> at: rdma_listen+0x3d2/0x740 [rdma_cm]
> [T79]
> which lock already depends on the new lock.
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: reclassify sockets in order to avoid false positives from lockdep
https://git.kernel.org/rdma/rdma/c/3a2c32d357db8d
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists