Re: [PATCH] net: mark racy access on sk->sk_rcvbuf
From: Jason Xing
Date: Sat Mar 09 2024 - 09:50:10 EST
On Sat, Mar 9, 2024 at 10:10 PM linke li <lilinke99@xxxxxx> wrote:
>
> > OK, but what about __sock_queue_rcv_skb() in the same file ?
>
> I notice that, but I am not very sure whether there is a data race. If it
> is a similar situation, then the same patch should be applied too.
During that process, I see no lock owning the socket, so sk->sk_rcvbuf
should also be read locklessly.
Thanks,
Jason
>
>