From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
Eric Dumazet <edumazet@google.com>
Subject: [PATCH net 0/5] net: another round of data-race annotations
Date: Thu, 31 Aug 2023 13:52:07 +0000 [thread overview]
Message-ID: <20230831135212.2615985-1-edumazet@google.com> (raw)
Series inspired by some syzbot reports, taking care
of 4 socket fields that can be read locklessly.
Eric Dumazet (5):
net: use sk_forward_alloc_get() in sk_get_meminfo()
net: annotate data-races around sk->sk_forward_alloc
mptcp: annotate data-races around msk->rmem_fwd_alloc
net: annotate data-races around sk->sk_tsflags
net: annotate data-races around sk->sk_bind_phc
include/net/ip.h | 2 +-
include/net/sock.h | 29 +++++++++++++++++++----------
net/can/j1939/socket.c | 10 ++++++----
net/core/skbuff.c | 10 ++++++----
net/core/sock.c | 18 +++++++++---------
net/ipv4/ip_output.c | 2 +-
net/ipv4/ip_sockglue.c | 2 +-
net/ipv4/tcp.c | 4 ++--
net/ipv4/tcp_output.c | 2 +-
net/ipv4/udp.c | 6 +++---
net/ipv6/ip6_output.c | 2 +-
net/ipv6/ping.c | 2 +-
net/ipv6/raw.c | 2 +-
net/ipv6/udp.c | 2 +-
net/mptcp/protocol.c | 23 +++++++++++++++--------
net/socket.c | 15 ++++++++-------
16 files changed, 76 insertions(+), 55 deletions(-)
--
2.42.0.rc2.253.gd59a3bf2b4-goog
next reply other threads:[~2023-08-31 13:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 13:52 Eric Dumazet [this message]
2023-08-31 13:52 ` [PATCH net 1/5] net: use sk_forward_alloc_get() in sk_get_meminfo() Eric Dumazet
2023-08-31 13:52 ` [PATCH net 2/5] net: annotate data-races around sk->sk_forward_alloc Eric Dumazet
2023-08-31 13:52 ` [PATCH net 3/5] mptcp: annotate data-races around msk->rmem_fwd_alloc Eric Dumazet
2023-08-31 13:52 ` [PATCH net 4/5] net: annotate data-races around sk->sk_tsflags Eric Dumazet
2023-08-31 13:52 ` [PATCH net 5/5] net: annotate data-races around sk->sk_bind_phc Eric Dumazet
2023-09-01 6:30 ` [PATCH net 0/5] net: another round of data-race annotations 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=20230831135212.2615985-1-edumazet@google.com \
--to=edumazet@google.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=kuba@kernel.org \
--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).