From: Prathamesh Deshpande <prathameshdeshpande7@gmail.com>
To: dtatulea@nvidia.com
Cc: andrew+netdev@lunn.ch, cjubran@nvidia.com, cratiu@nvidia.com,
davem@davemloft.net, edumazet@kernel.org, erezsh@mellanox.com,
kuba@kernel.org, leon@kernel.org, linux-kernel@vger.kernel.org,
linux-rdma@vger.kernel.org, mbloch@nvidia.com,
netdev@vger.kernel.org, pabeni@redhat.com,
prathameshdeshpande7@gmail.com, saeedm@nvidia.com,
tariqt@nvidia.com, valex@mellanox.com
Subject: Re: [PATCH net] net/mlx5: IPOIB, Fix QPN lookup race
Date: Fri, 30 Oct 2026 18:12:52 +0000 [thread overview]
Message-ID: <20261030181309.9266-1-prathameshdeshpande7@gmail.com> (raw)
In-Reply-To: <ade46454-e575-43e4-85aa-eeb5ad79408a@nvidia.com>
On Fri, 30 Oct 2026 12:18:59 +0100, Dragos Tatulea wrote:
> I don't think that all these cases can happen. But I can see how a
> CQE completion on the parent can read a pointer from the hash
> bucket that just got deleted.
>
> Please improve the commit message.
Thanks for reviewing. I will narrow the commit message to the parent CQE
lookup racing with hash-entry removal.
> Holding the spinlock in the datapath is not a good idea. AFAIU
> using hlist RCU variants will be enough.
I will switch to RCU hlist operations with deferred freeing and send v2
after validation.
prev parent reply other threads:[~2026-10-30 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 0:22 Prathamesh Deshpande
2026-10-30 0:29 ` netdev-bot+sinfo
2026-10-30 11:18 ` Dragos Tatulea
2026-10-30 18:12 ` Prathamesh Deshpande [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261030181309.9266-1-prathameshdeshpande7@gmail.com \
--to=prathameshdeshpande7@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=cjubran@nvidia.com \
--cc=cratiu@nvidia.com \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=edumazet@kernel.org \
--cc=erezsh@mellanox.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.com \
--cc=valex@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®