Re: [PATCH] udp6: Fix race condition in udp6_sendmsg & connect

Eric Dumazet
2023-05-26T16:00:19Z

On Fri, May 26, 2023 at 5:58 PM Ефанов Владислав Александрович
<vefanov@ispras.ru> wrote:
>
> Paolo,
>
>
> I don't think that we can just move sk_dst_set() call.
>
> I think we can destroy dst of sendmsg task in this case.
>

dst are RCU protected, it should be easy to make sure we respect all the rules.