From: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
To: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Rao Shoaib <Rao.Shoaib@oracle.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.co.jp>,
Kuniyuki Iwashima <kuni1840@gmail.com>, <netdev@vger.kernel.org>
Subject: [PATCH v3 net 0/2] af_unix: Fix some OOB implementation.
Date: Wed, 16 Mar 2022 03:38:53 +0900 [thread overview]
Message-ID: <20220315183855.15190-1-kuniyu@amazon.co.jp> (raw)
This series fixes some data-races and adds a missing feature around the
commit 314001f0bf92 ("af_unix: Add OOB support").
Changelog:
- v3:
- Add the first patch
- v2: https://lore.kernel.org/netdev/20220315054801.72035-1-kuniyu@amazon.co.jp/
- Add READ_ONCE() to avoid a race reported by KCSAN (Eric)
- Add IS_ENABLED(CONFIG_AF_UNIX_OOB) (Shoaib)
- v1: https://lore.kernel.org/netdev/20220314052110.53634-1-kuniyu@amazon.co.jp/
Kuniyuki Iwashima (2):
af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
af_unix: Support POLLPRI for OOB.
net/unix/af_unix.c | 22 ++++++++++---------
.../selftests/net/af_unix/test_unix_oob.c | 6 ++---
2 files changed, 15 insertions(+), 13 deletions(-)
--
2.30.2
next reply other threads:[~2022-03-15 18:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 18:38 Kuniyuki Iwashima [this message]
2022-03-15 18:38 ` [PATCH v3 net 1/2] af_unix: Fix some data-races around unix_sk(sk)->oob_skb Kuniyuki Iwashima
2022-03-15 18:38 ` [PATCH v3 net 2/2] af_unix: Support POLLPRI for OOB Kuniyuki Iwashima
2022-03-17 2:46 ` Jakub Kicinski
2022-03-17 2:56 ` Kuniyuki Iwashima
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=20220315183855.15190-1-kuniyu@amazon.co.jp \
--to=kuniyu@amazon.co.jp \
--cc=Rao.Shoaib@oracle.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=kuni1840@gmail.com \
--cc=netdev@vger.kernel.org \
/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).