[lvc-project] [PATCH RFC net] net: sockmap: avoid race between sock_map_destroy() and sk_psock_put()
Cong Wang
xiyou.wangcong at gmail.com
Wed Sep 11 07:32:56 MSK 2024
On Mon, Sep 09, 2024 at 10:04:21AM +0300, Dmitry Antipov wrote:
> On 9/8/24 9:36 PM, Cong Wang wrote:
>
> > Are you sure it is due to sockmap code?
>
> No, and that's why my patch has RFC tag in subject :-).
>
> > I see rds_tcp_accept_one() in the stack trace. This is why I highly
> > suspect that it is due to RDS code instead of sockmap code.
> >
> > I have the following patch ready for testing, in case you are
> > interested.
>
> Does it work for you? Running current upstream with this patch applied,
> I'm still seeing the same warning at net/core/sock_map.c:1663.
I never tested the RDS code (hence why I didn't post it). But for the warning
itself, actually disabling CONFIG_RDS made it disappear on my side, yet
another reason why I suspect it is RDS related.
Thanks.
More information about the lvc-project
mailing list