linux-yocto/drivers/net
Ronak Doshi 85530b4ec3 vmxnet3: update MTU after device quiesce
[ Upstream commit 43f0999af0 ]

Currently, when device mtu is updated, vmxnet3 updates netdev mtu, quiesces
the device and then reactivates it for the ESXi to know about the new mtu.
So, technically the OS stack can start using the new mtu before ESXi knows
about the new mtu.

This can lead to issues for TSO packets which use mss as per the new mtu
configured. This patch fixes this issue by moving the mtu write after
device quiesce.

Cc: stable@vger.kernel.org
Fixes: d1a890fa37 ("net: VMware virtual Ethernet NIC driver: vmxnet3")
Signed-off-by: Ronak Doshi <ronak.doshi@broadcom.com>
Acked-by: Guolin Yang <guolin.yang@broadcom.com>
Changes v1-> v2:
  Moved MTU write after destroy of rx rings
Link: https://patch.msgid.link/20250515190457.8597-1-ronak.doshi@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[ no WRITE_ONCE() in older trees ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-09 18:50:23 +02:00
..
appletalk
arcnet arcnet: Add NULL check in com20020pci_probe() 2025-04-10 14:32:05 +02:00
bonding bonding: update LACP activity flag after setting lacp_active 2025-08-28 16:24:38 +02:00
caif
can can: kvaser_usb: Assign netdev.dev_port based on device channel index 2025-08-28 16:24:08 +02:00
dsa net: dsa: b53: fix IP_MULTICAST_CTRL on BCM5325 2025-08-28 16:24:22 +02:00
ethernet e1000e: fix heap overflow in e1000_set_eeprom 2025-09-09 18:50:21 +02:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Fix panic during namespace deletion with VF 2025-08-28 16:24:31 +02:00
ieee802154 ieee802154: ca8210: Use proper setters and getters for bitwise types 2025-06-04 14:37:58 +02:00
ipa
ipvlan
mctp
mdio
netdevsim
pcs
phy phy: mscc: Stop taking ts_lock for tx_queue and use its own lock 2025-09-09 18:50:20 +02:00
plip
ppp ppp: fix memory leak in pad_compress_skb 2025-09-09 18:50:20 +02:00
slip
team
usb net: usb: qmi_wwan: add Telit Cinterion LE910C4-WWX new compositions 2025-09-04 14:28:47 +02:00
vmxnet3 vmxnet3: update MTU after device quiesce 2025-09-09 18:50:23 +02:00
vxlan vxlan: Do not treat dst cache initialization errors as fatal 2025-06-27 11:05:32 +01:00
wan
wireguard wireguard: device: enable threaded NAPI 2025-06-27 11:05:18 +01:00
wireless wifi: mwifiex: Initialize the chan_stats array to zero 2025-09-09 18:50:21 +02:00
wwan
xen-netback
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: MACsec SCI assignment for ES = 0 2025-06-27 11:05:20 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_disable_paths() 2025-08-28 16:24:21 +02:00
tun.c
veth.c
virtio_net.c virtio-net: ensure the received length does not exceed allocated size 2025-07-17 18:30:50 +02:00
vrf.c vrf: Drop existing dst reference in vrf_ip6_input_dst 2025-08-28 16:24:09 +02:00
vsockmon.c
xen-netfront.c xen/netfront: Fix TX response spurious interrupts 2025-08-28 16:24:19 +02:00