Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Carlos Fangmeier
Wed, 14 Oct 2026 22:26
Re: [PATCH] net: stmmac: prevent kernel panic during XDP program and XSK pool transitions
Author: Carlos Fangmeier
Date: Wed, 14 Oct 2026 22:26
Date: Wed, 14 Oct 2026 22:26
13 lines
8463 bytes
8463 bytes
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/
Re: [PATCH] net: stmmac: prevent kernel panic during XDP program and XSK pool transitions
Author: Kurt Kanzenbach
Date: Fri, 16 Oct 2026 12:20
Date: Fri, 16 Oct 2026 12:20
48 lines
8118 bytes
8118 bytes
--=-=-= Content-Type: text/plain Hey Carlos, On Wed Oct 14 2026, Carlos Fangmeier wrote: > 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/ > Well, looking at the Sashiko reports, it needs some work though. I'll put you on Cc for the next iteration. Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmrSFqATHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzguCVEACLB7jOw+qZLfQSYOAtNqEc29oYtngT l1rUQ+qQJ1DeG2b8+amNpn9NJiun5nuxQh+wwQcZP6JkzxMIaKDH8BoVwWRyufbj GPyBHtBlwAo2X01owNOeTsBXaLatuPo7NK41YBXCAW8nm/TXxaqR9geHeJUmd2KR yi645Hjd1Rl4B9AQ70XtdthLdmzL6oYkhVac8Vq6s/cjT1D4eSwBG4eUqUVbBhjA IDQmdmsy9alMkt2jfBDCTDEifa6OyrYLz14tOFhrhHQDVb6cT76Ijgrvu7jSc0sP 8rpj9e58getO+a5TS3bZNDPTMhm+gKCz3fqplNmkW4lbrVI4X3Ea65Bw/t2kAXtZ gBgBEofRffZ0ASVpfrXWfPxZCYJZyKjLruNW2CmyyNGG1BTw3Gmm95Nt03Vlpz3K SCkyTbDHXuo2GKcM2ZWm4fv67vbYKkDG9SWI35F6PjyIptyW/fuokF8t/uGGfQBz h84bZ0DJ5G7WW3+UcIHCVKHHaixrEAn/660FY5oHhOtVasVinNupd1Dj7fmjp+/8 y3+qxnZZTMudzLAGmroNt2J52jOB2dz6uvLAaFqHNhvgXrXpIHxL6VZqgkfXD3V/ LJ60E7R8Yh8WUrhB710jXBr2vGtDo14p+L91y3N0VWt3/6qR8cBNd9CJUM9YzJ9g dT1uy+Enk8gQrQ== =SP8V -----END PGP SIGNATURE----- --=-=-=--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads