twx-linux/drivers
Jakub Kicinski 9ce4fa5483 nfp: flower: restore RTNL locking around representor updates
When we moved to updating representors from a workqueue grabbing
the RTNL somehow got lost in the process.  Restore it, and make
sure RCU lock is not held while we are grabbing the RTNL.  RCU
protects the representor table, so since we will be under RTNL
we can drop RCU lock as soon as we find the netdev pointer.
RTNL is needed for the dev_set_mtu() call.

Fixes: 2dff19622421 ("nfp: process MTU updates from firmware flower app")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-03 21:22:05 -07:00
..
accessibility
acpi Merge branches 'acpica-fix', 'acpi-ec-fix' and 'acpi-properties-fix' 2017-08-24 22:22:53 +02:00
amba
android ANDROID: binder: fix proc->tsk check. 2017-08-22 18:42:57 -07:00
ata Revert "libata: quirk read log on no-name M.2 SSD" 2017-08-29 08:36:58 -07:00
atm atm: make atmdev_ops const 2017-08-09 22:43:50 -07:00
auxdisplay
base driver core fixes for 4.13-rc5 2017-08-13 12:44:18 -07:00
bcma bcma: make BCMA a menuconfig to ease disabling it all 2017-08-08 14:44:40 +03:00
block Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2017-08-31 18:42:21 -07:00
bluetooth Bluetooth: hci_bcm: Handle empty packet after firmware loading 2017-08-17 22:51:50 +03:00
bus bus: uniphier-system-bus: set up registers when resuming 2017-08-04 12:57:18 +02:00
cdrom
char random: fix warning message on ia64 and parisc 2017-08-08 09:36:46 -07:00
clk clk: keystone: sci-clk: Fix sci_clk_get 2017-08-02 18:37:26 -07:00
clocksource clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies 2017-08-11 12:53:29 +02:00
connector
cpufreq cpufreq: intel_pstate: report correct CPU frequencies during trace 2017-08-11 01:25:53 +02:00
cpuidle powerpc/powernv/idle: Disable LOSE_FULL_CONTEXT states when stop-api fails 2017-08-08 20:21:23 +10:00
crypto crypto: ixp4xx - Fix error handling path in 'aead_perform()' 2017-08-09 20:01:33 +08:00
dax - A few DM integrity fixes that improve performance. One that address 2017-07-28 12:17:17 -07:00
dca
devfreq
dio
dma dmaengine: tegra210-adma: fix of_irq_get() error check 2017-08-09 11:39:16 +05:30
dma-buf dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence 2017-07-31 10:55:24 -03:00
edac
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gpio gpio: mvebu: Fix cause computation in irq handler 2017-08-14 15:00:43 +02:00
gpu drm/amdgpu: update to new mmu_notifier semantic 2017-08-31 16:12:59 -07:00
hid HID: ortek: add one more buggy device 2017-07-24 17:38:21 +02:00
hsi
hv vmbus: remove unused vmbus_sendpacket_ctl 2017-08-16 16:27:45 -07:00
hwmon
hwspinlock
hwtracing
i2c i2c: designware: Fix runtime PM for I2C slave mode 2017-08-17 17:55:29 +02:00
ide ide: avoid warning for timings calculation 2017-07-21 04:37:22 +01:00
idle
iio iio: magnetometer: st_magn: remove ihl property for LSM303AGR 2017-08-20 15:21:49 +01:00
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2017-09-01 10:43:37 -07:00
iommu iommu/intel: update to new mmu_notifier semantic 2017-08-31 16:12:59 -07:00
ipack
irqchip irqchip fixes for 4.13 2017-08-14 09:34:10 +02:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-08-15 20:23:23 -07:00
leds
lguest
lightnvm lightnvm: pblk: advance bio according to lba index 2017-07-28 08:06:00 -06:00
macintosh
mailbox mailbox: pcc: Fix crash when request PCC channel 0 2017-07-26 02:11:47 +02:00
mcb
md dm mpath: do not lock up a CPU with requeuing activity 2017-08-28 09:58:27 -04:00
media media: platform: davinci: drop VPFE_CMD_S_CCDC_RAW_PARAMS 2017-07-26 06:14:33 -04:00
memory memory: atmel-ebi: Fix smc cycle xlate converter 2017-07-26 22:37:54 +02:00
memstick
message
mfd ARM: SoC fixes for 4.13 2017-08-24 14:01:18 -07:00
misc sgi-gru: update to new mmu_notifier semantic 2017-08-31 16:13:00 -07:00
mmc mmc: sdhci-xenon: add set_power callback 2017-08-30 14:11:47 +02:00
mtd mtd: nand: atmel: Relax tADL_min constraint 2017-08-24 20:59:50 -07:00
mux
net nfp: flower: restore RTNL locking around representor updates 2017-09-03 21:22:05 -07:00
nfc
ntb ntb: transport shouldn't disable link due to bogus values in SPADs 2017-08-01 13:31:44 -04:00
nubus
nvdimm libnvdimm: fix badblock range handling of ARS range 2017-07-17 11:43:58 -07:00
nvme nvme-pci: use dma memory for the host memory buffer descriptors 2017-08-30 14:46:16 +02:00
nvmem
of Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-08-21 17:06:42 -07:00
oprofile
parisc parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo 2017-08-16 09:50:39 +02:00
parport
pci pci-v4.13-fixes-3 2017-08-26 12:46:14 -07:00
pcmcia
perf drivers/perf: arm_pmu: Request PMU SPIs with IRQF_PER_CPU 2017-07-27 13:43:22 +01:00
phy phy: add the mvebu cp110 comphy driver 2017-08-30 15:17:45 -07:00
pinctrl Pin control fixes for the v4.13 cycle: 2017-08-09 14:30:34 -07:00
platform platform/x86: intel-vbtn: match power button on press rather than release 2017-08-05 14:37:19 -07:00
pnp
power
powercap
pps
ps3
ptp ptp: make ptp_clock_info const 2017-08-22 11:04:51 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: ds1307: fix regmap config 2017-08-21 11:08:03 +02:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
sbus sbus: Convert to using %pOF instead of full_name 2017-07-20 12:37:10 -07:00
scsi SCSI fixes on 20170830 2017-08-30 15:03:00 -07:00
sfi
sh
sn
soc soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create 2017-08-21 09:19:50 +02:00
spi
spmi
ssb
staging Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
target target: Fix node_acl demo-mode + uncached dynamic shutdown regression 2017-08-09 20:55:19 -07:00
tc
tee
thermal
thunderbolt char/misc fixes for 4.13-rc5 2017-08-13 12:41:58 -07:00
tty pty: Repair TIOCGPTPEER 2017-08-24 13:23:03 -07:00
uio
usb USB fixes for 4.13-rc5 2017-08-13 12:27:42 -07:00
uwb
vfio vfio/pci: Fix handling of RC integrated endpoint PCIe capability size 2017-07-27 10:39:33 -06:00
vhost net: convert (struct ubuf_info)->refcnt to refcount_t 2017-09-01 20:22:03 -07:00
video efifb: allow user to disable write combined mapping. 2017-07-31 18:45:41 +02:00
virt
virtio Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
vlynq
vme
w1
watchdog
xen xen/gntdev: update to new mmu_notifier semantic 2017-08-31 16:13:00 -07:00
zorro
Kconfig
Makefile