The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Krystian Kaniewski <krystianmkaniewski@gmail.com>
Cc: netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>,
	syzkaller-bugs@googlegroups.com, dskr99@gmail.com,
	Kees Cook <kees@kernel.org>,
	linux-kernel@vger.kernel.org, syzbot@lists.linux.dev,
	syzbot+5fe14f2ff4ccbace9a26@syzkaller.appspotmail.com
Subject: Re: [PATCH net v2] ipvlan: keep lower device alive until private destruction
Date: Thu, 6 Aug 2026 08:38:34 -0700	[thread overview]
Message-ID: <20260806083834.28db4cde@kernel.org> (raw)
In-Reply-To: <20260803121140.261329-1-krystianmkaniewski@gmail.com>

On Mon,  3 Aug 2026 14:11:39 +0200 Krystian Kaniewski wrote:
> Specifically, RXE acts as an asynchronous owner in this scenario. RXE
> queues RDMA device removal on NETDEV_UNREGISTER, meaning it can retain a
> reference to the ipvlan netdev after ndo_uninit has completed.

The netdev reference only guarantees that struct net_device does not 
go away. Caller must check that the device is still alive if it is
trying to operate on it without a guarantee that it's still live.

  parent reply	other threads:[~2026-08-06 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 12:11 [PATCH net v2] ipvlan: keep lower device alive until private destruction Krystian Kaniewski
2026-08-03 16:57 ` [syzbot ci] " syzbot ci
2026-08-06 15:38 ` Jakub Kicinski [this message]
2026-08-07 11:54   ` [PATCH net v2] " Krystian Kaniewski

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=20260806083834.28db4cde@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=dskr99@gmail.com \
    --cc=edumazet@google.com \
    --cc=kees@kernel.org \
    --cc=krystianmkaniewski@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=syzbot+5fe14f2ff4ccbace9a26@syzkaller.appspotmail.com \
    --cc=syzbot@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.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