netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Eric Dumazet <edumazet@google.com>
Cc: Sabrina Dubroca <sd@queasysnail.net>,
	netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Simon Horman <horms@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>
Subject: Re: [RFC PATCH 1/2] net: introduce per netns packet chains
Date: Mon, 17 Mar 2025 10:23:55 +0100	[thread overview]
Message-ID: <cf04be0e-eeaa-45ea-9a06-3870e65a977a@redhat.com> (raw)
In-Reply-To: <CANn89iJZHok-JHiu3bSZQaNSbu4r+yJkXhZ8eoTtk1EaHsR56w@mail.gmail.com>

On 3/17/25 9:43 AM, Eric Dumazet wrote:
> On Mon, Mar 17, 2025 at 9:40 AM Paolo Abeni <pabeni@redhat.com> wrote:
>>
>>
>> Thanks Sabrina! I'll try to address the above in the next revision.
> 
> Could you use dev_net_rcu() instead of dev_net() ?

Indeed all the call site are under rcu - except the one in
dev_queue_xmit_nit() that will need a little adjustment. I'll do in the
next revision, thanks!

Paolo


  reply	other threads:[~2025-03-17  9:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14 13:04 [RFC PATCH 0/2] net: introduce per netns packet type chains Paolo Abeni
2025-03-14 13:05 ` [RFC PATCH 1/2] net: introduce per netns packet chains Paolo Abeni
2025-03-14 22:33   ` Sabrina Dubroca
2025-03-17  8:40     ` Paolo Abeni
2025-03-17  8:43       ` Eric Dumazet
2025-03-17  9:23         ` Paolo Abeni [this message]
2025-03-17 10:46           ` Eric Dumazet
2025-03-14 13:05 ` [RFC PATCH 2/2] net: hotdata optimization for netns ptypes Paolo Abeni
2025-03-17  9:18   ` Paolo Abeni

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=cf04be0e-eeaa-45ea-9a06-3870e65a977a@redhat.com \
    --to=pabeni@redhat.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sd@queasysnail.net \
    /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).