mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Breno Leitao <leitao@debian.org>
To: Gustavo Luiz Duarte <gustavold@gmail.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	 Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	 Stephen Hemminger <stephen@networkplumber.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v5 4/4] netconsole: stop waiting for carrier once the device is unregistered
Date: Tue, 3 Nov 2026 04:28:57 -0800	[thread overview]
Message-ID: <aunTfNV9n8_eaato@gmail.com> (raw)
In-Reply-To: <20261102-netcons-fixes-v5-4-bdada2f03563@gmail.com>

On Mon, Nov 02, 2026 at 07:54:52PM +0000, Gustavo Luiz Duarte wrote:
> netcons_netpoll_setup() releases RTNL and waits in netcons_wait_carrier()
> for up to carrier_timeout seconds for the device to report carrier. If
> the device is unregistered in the meantime, the loop keeps polling until
> the timeout expires.
> 
> Stop waiting as soon as the device is no longer NETREG_REGISTERED.
> 
> Closes: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261021-netcons-fixes-v4-0-3857120c6340@gmail.com
> Signed-off-by: Gustavo Luiz Duarte <gustavold@gmail.com>

Reviewed-by: Breno Leitao <leitao@debian.org>

      reply	other threads:[~2026-11-03 12:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 19:54 [PATCH net v5 0/4] netconsole: fix target enable race and configfs read locking Gustavo Luiz Duarte
2026-11-02 19:54 ` [PATCH net v5 1/4] netconsole: finish enabling the target before releasing RTNL Gustavo Luiz Duarte
2026-11-03 12:08   ` Breno Leitao
2026-11-02 19:54 ` [PATCH net v5 2/4] netconsole: read np.dev under target_list_lock in local_mac_show() Gustavo Luiz Duarte
2026-11-03 12:08   ` Breno Leitao
2026-11-02 19:54 ` [PATCH net v5 3/4] netconsole: recheck device registration after waiting for carrier Gustavo Luiz Duarte
2026-11-03 12:09   ` Breno Leitao
2026-11-02 19:54 ` [PATCH net v5 4/4] netconsole: stop waiting for carrier once the device is unregistered Gustavo Luiz Duarte
2026-11-03 12:28   ` Breno Leitao [this message]

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=aunTfNV9n8_eaato@gmail.com \
    --to=leitao@debian.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=gustavold@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stephen@networkplumber.org \
    /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

all inboxes | Powered by JetHome®