mirror-linux/drivers/net/ethernet
Jakub Kicinski f0417c50fd Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
Tony Nguyen says:

====================
ice: fix synchronization between .ndo_bpf() and reset

Larysa Zaremba says:

PF reset can be triggered asynchronously, by tx_timeout or by a user. With some
unfortunate timings both ice_vsi_rebuild() and .ndo_bpf will try to access and
modify XDP rings at the same time, causing system crash.

The first patch factors out rtnl-locked code from VSI rebuild code to avoid
deadlock. The following changes lock rebuild and .ndo_bpf() critical sections
with an internal mutex as well and provide complementary fixes.

* '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue:
  ice: do not bring the VSI up, if it was down before the XDP setup
  ice: remove ICE_CFG_BUSY locking from AF_XDP code
  ice: check ICE_VSI_DOWN under rtnl_lock when preparing for reset
  ice: check for XDP rings instead of bpf program when unconfiguring
  ice: protect XDP configuration with a mutex
  ice: move netif_queue_set_napi to rtnl-protected sections
====================

Link: https://patch.msgid.link/20240903183034.3530411-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-09-04 17:37:37 -07:00
..
3com
8390
actions
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
apm
apple
aquantia net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
arc net: ethernet: arc: remove emac_arc driver 2024-06-21 10:07:17 +01:00
asix
atheros
broadcom bnxt_en: Fix double DMA unmapping for XDP_REDIRECT 2024-08-21 17:36:56 -07:00
brocade bna: adjust 'name' buf size of bna_tcb and bna_ccb structures 2024-07-12 01:56:48 +01:00
cadence net: macb: Use rcu_dereference() for idev->ifa_list in macb_suspend(). 2024-08-12 18:35:02 -07:00
calxeda
cavium net: thunder_bgx: Fix netdev structure allocation 2024-08-15 12:29:33 +02:00
chelsio cxgb4: add forgotten u64 ivlan cast before shift 2024-08-20 15:43:58 -07:00
cirrus net: ethernet: mac89x0: add missing MODULE_DESCRIPTION() macro 2024-06-19 17:22:00 -07:00
cisco net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
cortina
davicom
dec
dlink
emulex
engleder net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
ezchip
faraday net: ftgmac100: Ensure tx descriptor updates are visible 2024-08-26 14:05:29 +01:00
freescale dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp() 2024-08-20 15:17:17 -07:00
fujitsu
fungible net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
google gve: Fix use of netif_carrier_ok() 2024-08-02 16:50:27 -07:00
hisilicon net: hns3: use correct release function during uninitialization 2024-08-15 13:07:08 +02:00
huawei
i825xx
ibm ibmvnic: Add tx check to prevent skb leak 2024-06-25 10:43:42 +02:00
intel ice: do not bring the VSI up, if it was down before the XDP setup 2024-09-03 09:05:40 -07:00
litex
marvell octeontx2-af: Fix CPT AF register offset calculation 2024-08-22 13:14:46 +02:00
mediatek net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb() 2024-08-12 14:12:09 +01:00
mellanox net/mlx5: Fix IPsec RoCE MPV trace call 2024-08-16 16:15:57 -07:00
meta fbnic: Change kconfig prompt from S390=n to !S390 2024-07-26 18:24:50 -07:00
micrel net: ks8851: Fix potential TX stall after interface reopen 2024-07-11 11:52:29 +02:00
microchip net: microchip: vcap: Fix use-after-free error in kunit test 2024-09-02 10:35:17 +01:00
microsoft net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup 2024-09-04 11:50:04 +01:00
moxa
mscc net: mscc: ocelot: treat 802.1ad tagged traffic as 802.1Q-untagged 2024-08-16 09:59:32 +01:00
myricom
natsemi
neterion
netronome
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: Prevent tx_timeout due to frequent doorbell ringing 2024-08-27 13:22:42 +02:00
qlogic Merge branch 'net-make-timestamping-selectable' 2024-07-15 08:02:30 -07:00
qualcomm qca_spi: Make interrupt remembering atomic 2024-06-18 11:38:51 +02:00
rdc
realtek r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY 2024-07-31 17:52:46 -07:00
renesas Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
rocker
samsung
seeq
sfc Merge branch 'net-make-timestamping-selectable' 2024-07-15 08:02:30 -07:00
sgi
silan
sis
smsc net: smc9194: add missing MODULE_DESCRIPTION() macro 2024-06-19 17:22:33 -07:00
socionext
stmicro net: stmmac: dwmac4: fix PCS duplex mode decode 2024-08-08 08:25:04 -07:00
sun
sunplus
synopsys net: dwc-xlgmac: fix missing MODULE_DESCRIPTION() warning 2024-06-17 18:05:38 -07:00
tehuti net: tn40xx: add per queue netdev-genl stats support 2024-07-09 13:26:57 +02:00
ti net: ethernet: ti: am65-cpsw: Fix RX statistics for XDP_TX and XDP_REDIRECT 2024-09-03 10:43:46 +02:00
toshiba
tundra
vertexcom
via
wangxun net: ngbe: Fix phy mode set to external phy 2024-08-22 12:28:33 +02:00
wiznet
xilinx net: xilinx: axienet: Fix race in axienet_stop 2024-09-04 17:07:12 -07:00
xircom
xscale net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
Kconfig eth: fbnic: Add scaffolding for Meta's NIC driver 2024-07-15 12:50:42 -07:00
Makefile eth: fbnic: Add scaffolding for Meta's NIC driver 2024-07-15 12:50:42 -07:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c net: ethernet: use ip_hdrlen() instead of bit shift 2024-08-11 04:41:15 +01:00
jme.h
korina.c
lantiq_etop.c net: ethernet: lantiq_etop: remove redundant device name setup 2024-07-15 07:02:22 -07:00
lantiq_xrx200.c