From: Eric Dumazet <edumazet@google.com>
To: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org, eric.dumazet@gmail.com,
syzbot+c669c1136495a2e7c31f@syzkaller.appspotmail.com
Subject: Re: [PATCH net] packet: annotate data-races around ignore_outgoing
Date: Thu, 14 Mar 2024 16:43:53 +0100 [thread overview]
Message-ID: <CANn89iJVrZ0bT2V0VkmhNnfe=uOruOMWvaya_WcNe-JmtAJSgw@mail.gmail.com> (raw)
In-Reply-To: <65f318db70f3f_3f8f5b2945b@willemb.c.googlers.com.notmuch>
On Thu, Mar 14, 2024 at 4:33 PM Willem de Bruijn
<willemdebruijn.kernel@gmail.com> wrote:
>
> Should we also include a WRITE_ONCE on the fanout prot_hook:
>
> match->prot_hook.ignore_outgoing = type_flags & PACKET_FANOUT_FLAG_IGNORE_OUTGOING;
This is not needed, the variable is not yet visible by other cpus.
next prev parent reply other threads:[~2024-03-14 15:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 14:18 [PATCH net] packet: annotate data-races around ignore_outgoing Eric Dumazet
2024-03-14 15:33 ` Willem de Bruijn
2024-03-14 15:43 ` Eric Dumazet [this message]
2024-03-14 16:02 ` Willem de Bruijn
2024-03-15 2:22 ` Jason Xing
2024-03-18 9:40 ` 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='CANn89iJVrZ0bT2V0VkmhNnfe=uOruOMWvaya_WcNe-JmtAJSgw@mail.gmail.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 \
--cc=syzbot+c669c1136495a2e7c31f@syzkaller.appspotmail.com \
--cc=willemdebruijn.kernel@gmail.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).