Netdev List
 help / color / mirror / Atom feed
From: Carlos Fangmeier <carlos.fangmeier@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, Kurt Kanzenbach <kurt@linutronix.de>
Subject: Re: [PATCH] net: stmmac: prevent kernel panic during XDP program and XSK pool transitions
Date: Wed, 14 Oct 2026 15:26:28 -0700	[thread overview]
Message-ID: <20261014222628.3206770-1-carlos.fangmeier@gmail.com> (raw)
In-Reply-To: <20260605-main-v1-1-aed15b1cf1af@gmail.com>

On Tue, Jun 10 2026, Jakub Kicinski wrote:
> This still looks racy. Please look at other drivers

You were right. The intel drivers (ixgbe/i40e) disable the queue pair
as a unit around the pool swap rather than gating TX piecemeal, which
is the pattern my patch was missing.

Kurt Kanzenbach's series "net: stmmac: Fix XSK crashes on stm32mp2"
[1] takes that approach for the XSK pool enable/disable path and is
further along in review, so I'll drop this patch in favour of it.

[1] https://lore.kernel.org/netdev/20261013-stmmac_xsk_crashes-v3-0-50fca7790af2@linutronix.de/

      parent reply	other threads:[~2026-10-14 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05  7:56 [PATCH] net: stmmac: prevent kernel panic during XDP program and XSK pool transitions Carlos Fangmeier
2026-06-10  0:38 ` Jakub Kicinski
2026-10-14 22:26 ` Carlos Fangmeier [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=20261014222628.3206770-1-carlos.fangmeier@gmail.com \
    --to=carlos.fangmeier@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kurt@linutronix.de \
    --cc=netdev@vger.kernel.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