netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Kubiak <michal.kubiak@intel.com>
To: Kuniyuki Iwashima <kuniyu@amazon.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Kuniyuki Iwashima <kuni1840@gmail.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN.
Date: Wed, 10 May 2023 15:10:44 +0200	[thread overview]
Message-ID: <ZFuX1GtbvzsI97aZ@localhost.localdomain> (raw)
In-Reply-To: <20230510003456.42357-1-kuniyu@amazon.com>

On Tue, May 09, 2023 at 05:34:54PM -0700, Kuniyuki Iwashima wrote:
> KCSAN reported data races around these two fields for AF_UNIX sockets.
> 
>   * sk->sk_receive_queue->qlen
>   * sk->sk_shutdown
> 
> Let's annotate them properly.
> 
> 
> Kuniyuki Iwashima (2):
>   af_unix: Fix a data race of sk->sk_receive_queue->qlen.
>   af_unix: Fix data races around sk->sk_shutdown.
> 
>  net/unix/af_unix.c | 22 +++++++++++++---------
>  1 file changed, 13 insertions(+), 9 deletions(-)
> 

For the series.
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>

  parent reply	other threads:[~2023-05-10 13:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10  0:34 [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN Kuniyuki Iwashima
2023-05-10  0:34 ` [PATCH v1 net 1/2] af_unix: Fix a data race of sk->sk_receive_queue->qlen Kuniyuki Iwashima
2023-05-10 11:31   ` Eric Dumazet
2023-05-10  0:34 ` [PATCH v1 net 2/2] af_unix: Fix data races around sk->sk_shutdown Kuniyuki Iwashima
2023-05-10 11:32   ` Eric Dumazet
2023-05-10 13:10 ` Michal Kubiak [this message]
2023-05-11  2:10 ` [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZFuX1GtbvzsI97aZ@localhost.localdomain \
    --to=michal.kubiak@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=kuni1840@gmail.com \
    --cc=kuniyu@amazon.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).