Re: [PATCH net 1/1] net/rose: hold listener socket during call request handling

Paolo Abeni <[email protected]> Tue, 21 Apr 2026 13:23:44 +0200
Newsgroups gmane.linux.network,gmane.linux.hams
Message-ID <[email protected]>
On 4/17/26 1:01 PM, Ren Wei wrote:
> From: Nan Li <[email protected]>
> 
> The call request receive path keeps using the listener socket after the
> lookup lock has been dropped. Keep the listener alive across the
> remaining validation and child socket setup by taking a reference in the
> lookup path and releasing it once request handling is finished.
> 
> This makes listener lifetime handling explicit and avoids races with
> concurrent socket teardown.
> 
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Cc: [email protected]
> Reported-by: Yifan Wu <[email protected]>
> Reported-by: Juefei Pu <[email protected]>
> Reported-by: Xin Liu <[email protected]>
> Co-developed-by: Yuan Tan <[email protected]>
> Signed-off-by: Yuan Tan <[email protected]>
> Signed-off-by: Nan Li <[email protected]>
> Signed-off-by: Ren Wei <[email protected]>

we are moving rose out of tree:

https://lore.kernel.org/netdev/[email protected]/

please hold off until Thursday (after that our net PR will land into
mainline), and eventually resend if the code still exists in Linus's
tree at that point.

Thanks,

Paolo