netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wenjia Zhang <wenjia@linux.ibm.com>
To: Eric Dumazet <edumazet@google.com>,
	"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
Subject: Re: [PATCH net-next 1/8] net: implement lockless SO_PRIORITY
Date: Fri, 22 Sep 2023 01:37:42 +0200	[thread overview]
Message-ID: <f7b690e1-2afb-1126-8ca7-210dfa77ba85@linux.ibm.com> (raw)
In-Reply-To: <20230921202818.2356959-2-edumazet@google.com>



On 21.09.23 22:28, Eric Dumazet wrote:
> This is a followup of 8bf43be799d4 ("net: annotate data-races
> around sk->sk_priority").
> 
> sk->sk_priority can be read and written without holding the socket lock.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
>   drivers/net/ppp/pppoe.c           |  2 +-
>   include/net/bluetooth/bluetooth.h |  2 +-
>   net/appletalk/aarp.c              |  2 +-
>   net/ax25/af_ax25.c                |  2 +-
>   net/bluetooth/l2cap_sock.c        |  2 +-
>   net/can/j1939/socket.c            |  2 +-
>   net/can/raw.c                     |  2 +-
>   net/core/sock.c                   | 23 ++++++++++++-----------
>   net/dccp/ipv6.c                   |  2 +-
>   net/ipv4/inet_diag.c              |  2 +-
>   net/ipv4/ip_output.c              |  2 +-
>   net/ipv4/tcp_ipv4.c               |  2 +-
>   net/ipv4/tcp_minisocks.c          |  2 +-
>   net/ipv6/inet6_connection_sock.c  |  2 +-
>   net/ipv6/ip6_output.c             |  2 +-
>   net/ipv6/tcp_ipv6.c               |  4 ++--
>   net/mptcp/sockopt.c               |  2 +-
>   net/netrom/af_netrom.c            |  2 +-
>   net/rose/af_rose.c                |  2 +-
>   net/sched/em_meta.c               |  2 +-
>   net/sctp/ipv6.c                   |  2 +-
>   net/smc/af_smc.c                  |  2 +-
>   net/x25/af_x25.c                  |  2 +-
>   net/xdp/xsk.c                     |  2 +-
>   24 files changed, 36 insertions(+), 35 deletions(-)
> 

Thank you, Eric, for the fix!

Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>

  reply	other threads:[~2023-09-21 23:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 20:28 [PATCH net-next 0/8] net: more data-races fixes and lockless socket options Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 1/8] net: implement lockless SO_PRIORITY Eric Dumazet
2023-09-21 23:37   ` Wenjia Zhang [this message]
2023-09-21 20:28 ` [PATCH net-next 2/8] net: lockless SO_PASSCRED, SO_PASSPIDFD and SO_PASSSEC Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 3/8] net: lockless SO_{TYPE|PROTOCOL|DOMAIN|ERROR } setsockopt() Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 4/8] net: lockless implementation of SO_BUSY_POLL, SO_PREFER_BUSY_POLL, SO_BUSY_POLL_BUDGET Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 5/8] net: implement lockless SO_MAX_PACING_RATE Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 6/8] net: lockless implementation of SO_TXREHASH Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 7/8] net: annotate data-races around sk->sk_tx_queue_mapping Eric Dumazet
2023-09-21 20:28 ` [PATCH net-next 8/8] net: annotate data-races around sk->sk_dst_pending_confirm Eric Dumazet
2023-09-22 16:56 ` [PATCH net-next 0/8] net: more data-races fixes and lockless socket options Simon Horman
2023-10-01 18:20 ` 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=f7b690e1-2afb-1126-8ca7-210dfa77ba85@linux.ibm.com \
    --to=wenjia@linux.ibm.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --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).