linux/drivers
Przemek Kitszel dba35a4bb4 iavf: iavf_suspend(): take RTNL before netdev_lock()
Fix an obvious violation of lock ordering.
Jakub's [1] added netdev_lock() call that is wrong ordered wrt RTNL,
but the Fixes tag points to crit_lock being wrongly placed (by lockdep
standards).

Actual reason we got it wrong is dated back to critical section managed by
pure flag checks, which is with us since the very beginning.

[1] afc664987a ("eth: iavf: extend the netdev_lock usage")

Fixes: 5ac49f3c27 ("iavf: use mutexes for locking of critical sections")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2025-06-03 09:48:03 -07:00
..
accel drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
accessibility treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
acpi arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
amba
android vfs-6.16-rc1.async.dir 2025-05-26 08:02:43 -07:00
ata ata: libata-scsi: Improve CDL control 2025-04-22 16:06:05 +09:00
atm treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
auxdisplay treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
base Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
bcma bcma: use new GPIO line value setter callbacks 2025-04-23 15:28:24 +02:00
block for-6.16/block-20250523 2025-05-26 11:39:36 -07:00
bluetooth Bluetooth: hci_qca: move the SoC type check to the right place 2025-05-30 13:29:38 -04:00
bus bus: moxtet: Switch to irq_domain_create_simple() 2025-05-16 21:06:08 +02:00
cache
cdrom cdrom: Remove unnecessary NULL check before unregister_sysctl_table() 2025-05-15 16:25:20 -06:00
cdx Merge branches 'apple/dart', 'arm/smmu/updates', 'arm/smmu/bindings', 'rockchip', 's390', 'core', 'intel/vt-d' and 'amd/amd-vi' into next 2025-03-20 09:11:09 +01:00
char drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
clk Allwinner clk fixes for 6.15 2025-05-17 20:46:38 -07:00
clocksource Updates for clocksource/clockevent drivers: 2025-05-27 09:01:26 -07:00
comedi comedi: jr3_pci: Fix synchronous deletion of timer 2025-04-15 15:18:55 +02:00
connector
counter Char/Misc fixes for 6.15-rc1 2025-04-02 18:03:34 -07:00
cpufreq Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
cpuidle Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
crypto Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
cxl cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports 2025-04-21 08:30:13 -07:00
dax device/dax: properly refcount device dax pages when mapping 2025-03-17 22:06:41 -07:00
dca
devfreq
dio
dma Linux 6.15-rc7 2025-05-21 08:45:03 +02:00
dma-buf bpf-next-6.16 2025-05-28 15:52:42 -07:00
dpll Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-20 21:38:01 +01:00
edac - ie31200: Add support for Raptor Lake-S and Alder Lake-S compute dies 2025-05-27 10:13:06 -07:00
eisa
extcon
firewire treewide, timers: Rename destroy_timer_on_stack() as timer_destroy_on_stack() 2025-05-08 19:49:33 +02:00
firmware arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
fpga fpga: tests: add module descriptions 2025-04-11 17:32:38 -07:00
fsi
fwctl fwctl: Fix repeated device word in log message 2025-04-11 20:47:45 -03:00
gnss
gpio gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
gpu drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
greybus treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hid hid-for-linus-2025051501 2025-05-15 10:57:24 -07:00
hsi treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hte treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hv Including fixes from Bluetooth and wireless. 2025-05-15 10:40:49 -07:00
hwmon Merge branch 'x86/msr' into x86/core, to resolve conflicts 2025-05-13 10:42:06 +02:00
hwspinlock hwspinlock: Remove unused hwspin_lock_get_id() 2025-03-21 17:12:04 -05:00
hwtracing intel_th: avoid using deprecated page->mapping, index fields 2025-04-15 13:29:03 +02:00
i2c A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
i3c i3c: Add NULL pointer check in i3c_master_queue_ibi() 2025-03-31 11:44:00 +02:00
idle Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
iio A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
infiniband Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
input Input updates for v6.15-rc7 2025-05-24 18:54:18 -07:00
interconnect
iommu dma-mapping updates for Linux 6.16: 2025-05-27 20:09:06 -07:00
ipack
irqchip Another set of timer API cleanups: 2025-05-27 08:31:21 -07:00
isdn treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
leds treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
macintosh treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mailbox mailbox: qcom-ipcc: Switch to irq_domain_create_tree() 2025-05-16 21:06:09 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-04-15 18:21:39 +02:00
md hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
media [GIT PULL for v6.16] media updates 2025-05-28 09:17:20 -07:00
memory spi: Updates for v6.16 2025-05-27 15:53:55 -07:00
memstick treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
message SCSI misc on 20250326 2025-03-26 19:57:34 -07:00
mfd gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
misc hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
mmc mmc: Merge branch fixes into next 2025-05-19 14:26:54 +02:00
most treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mtd Linux 6.15-rc4 2025-05-02 09:43:44 +02:00
mux
net iavf: iavf_suspend(): take RTNL before netdev_lock() 2025-06-03 09:48:03 -07:00
nfc nfc: Correct Samsung "Electronics" spelling in copyright headers 2025-05-21 20:31:18 -07:00
ntb NTB/msi: Switch MSI descriptor locking to lock guard() 2025-04-09 20:47:29 +02:00
nubus
nvdimm libnvdimm additions for 6.15 2025-04-02 20:27:18 -07:00
nvme Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
nvmem gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
of Devicetree for v6.15: 2025-03-29 11:23:16 -07:00
opp OPP: switch to use kmemdup_array() 2025-05-19 15:37:53 +05:30
parisc
parport treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
pci dma-mapping updates for Linux 6.16: 2025-05-27 20:09:06 -07:00
pcmcia treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
peci
perf arm64 updates for 6.16 2025-05-28 14:55:35 -07:00
phy phy: Fix error handling in tegra_xusb_port_init 2025-05-14 12:28:43 +01:00
pinctrl ACPI updates for 6.16-rc1 2025-05-27 16:32:30 -07:00
platform drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
pmdomain pmdomain: ti: Fix STANDBY handling of PER power domain 2025-05-19 16:11:05 +02:00
pnp x86/platform/amd: Move the <asm/amd_nb.h> header to <asm/amd/nb.h> 2025-04-14 09:34:14 +02:00
power power: supply: rt9471: Simplify definition of some struct linear_range 2025-05-03 19:17:02 +02:00
powercap x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
pps pps: generators: tio: fix platform_set_drvdata() 2025-04-15 18:22:32 +02:00
ps3
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-05-22 09:42:41 -07:00
pwm pwm: adp5585: make sure to include mod_devicetable.h 2025-05-19 18:07:39 +02:00
rapidio
ras Linux 6.15-rc5 2025-05-06 10:00:58 +02:00
regulator regulator: Updates for v6.16 2025-05-27 15:49:58 -07:00
remoteproc remoteproc: qcom_wcnss: Fix on platforms without fallback regulators 2025-05-13 10:34:33 -05:00
reset remoteproc updates for v6.15 2025-03-29 17:18:50 -07:00
rpmsg
rtc treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
s390 Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
sbus
scsi hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
sh sh: Switch to irq_domain_create_*() 2025-05-16 21:06:11 +02:00
siox
slimbus
soc pwm: Changes for v6.16-rc1 2025-05-27 15:01:47 -07:00
soundwire soundwire fix for 6.15 2025-05-17 12:04:19 -07:00
spi spi: Updates for v6.16 2025-05-27 15:53:55 -07:00
spmi
ssb irqdomain: ssb: Switch to irq_domain_create_linear() 2025-04-23 15:08:44 +02:00
staging [GIT PULL for v6.16] media updates 2025-05-28 09:17:20 -07:00
target net: core: Convert inet_addr_is_any() to sockaddr_storage 2025-05-27 08:25:42 +02:00
tc
tee
thermal Thermal control updates for 6.16-rc1 2025-05-27 16:28:02 -07:00
thunderbolt USB/Thunderbolt update for 6.15-rc1 2025-04-02 18:23:31 -07:00
tty serial: sifive: lock port in startup()/shutdown() callbacks 2025-04-15 15:02:39 +02:00
ufs Updates for the MSI subsystem (core code and PCI): 2025-05-27 08:15:26 -07:00
uio uio_hv_generic: Fix sysfs creation path for ring buffer 2025-05-02 13:59:02 +02:00
usb Power management updates for 6.16-rc1 2025-05-27 16:48:47 -07:00
vdpa
vfio vfio/pci: Align huge faults to order 2025-05-06 12:59:12 -06:00
vhost vhost/net: Defer TX queue re-enable until after sendmsg 2025-05-05 18:18:41 -07:00
video drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
virt treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
virtio virtgpu: don't reset on shutdown 2025-04-18 10:05:49 -04:00
w1 w1: ds2406: use crc16() instead of crc16_byte() loop 2025-05-13 20:37:16 -07:00
watchdog hardening updates for v6.16-rc1 2025-05-28 07:47:10 -07:00
xen xen/x86: fix initial memory balloon target 2025-05-23 07:09:00 +02:00
zorro
Kconfig
Makefile