Re: [PATCH net] net/smc: serialize sndbuf descriptor release with diagnostic dumps
From: Chengfeng Ye
Date: Mon Sep 28 2026 - 02:20:32 EST
On Mon, Sep 28, 2026 at 1:57 PM Mahanta Jambigi <mjambigi@xxxxxxxxxxxxx> wrote:
>
> Agreed. This is addressed in v6[1] by unhashing the socket at the top of
> smc_conn_kill(), before smcd_buf_detach() runs, so no hashed socket can
> have its sndbuf_desc freed under a concurrent diag reader.
>
> [1]
> https://lore.kernel.org/netdev/20260926065023.1629497-1-mjambigi@xxxxxxxxxxxxx/
>
Hi Mahanta,
Thanks for pointing this out, I didn't notice there was a patch
working on the same problem. Please drop my patch in favour of yours.
Best Regards,
Chengfeng