linux-stable/drivers
Jakub Kicinski 44b6fed0c1 nfp: bpf: double check vNIC capabilities after object sharing
Program translation stage checks that program can be offloaded to
the netdev which was passed during the load (bpf_attr->prog_ifindex).
After program sharing was introduced, however, the netdev on which
program is loaded can theoretically be different, and therefore
we should recheck the program size and max stack size at load time.

This was found by code inspection, AFAIK today all vNICs have
identical caps.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-10-16 15:23:58 -07:00
..
accessibility
acpi
amba
android
ata
atm fore200e: fix missing unlock on error in bsq_audit() 2018-10-15 22:48:35 -07:00
auxdisplay
base Char/Misc fixes for 4.19-rc7 2018-10-07 08:15:57 +02:00
bcma
block
bluetooth Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-12 21:38:46 -07:00
bus
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto Fix open-coded multiplication arguments to allocators 2018-10-11 19:10:30 +02:00
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gnss
gpio gpio: Assign gpio_irq_chip::parents to non-stack pointer 2018-10-10 14:03:27 +02:00
gpu single nouveau runtime reference and mst change 2018-10-12 12:53:48 +02:00
hid
hsi
hv
hwmon Fix open-coded multiplication arguments to allocators 2018-10-11 19:10:30 +02:00
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband mlx5e-updates-2018-10-10 2018-10-15 21:49:56 -07:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-10-12 12:35:02 +02:00
iommu
ipack
irqchip
isdn isdn/hisax: amd7930_fn: Remove unnecessary parentheses 2018-10-10 22:28:50 -07:00
leds
lightnvm
macintosh
mailbox
mcb
md Fix open-coded multiplication arguments to allocators 2018-10-11 19:10:30 +02:00
media
memory
memstick
message
mfd
misc
mmc mmc: block: avoid multiblock reads for the last sector in SPI mode 2018-10-09 09:23:00 +02:00
mtd
mux mux: adgs1408: use the correct MODULE_LICENSE 2018-10-12 17:36:39 +02:00
net nfp: bpf: double check vNIC capabilities after object sharing 2018-10-16 15:23:58 -07:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of Devicetree fixes for 4.19, part 3: 2018-10-10 22:09:02 +02:00
opp
oprofile
parisc
parport
pci Fix open-coded multiplication arguments to allocators 2018-10-11 19:10:30 +02:00
pcmcia
perf
phy phy: phy-ocelot-serdes: fix return value check in serdes_probe() 2018-10-10 22:54:26 -07:00
pinctrl pinctrl: mcp23s08: fix irq and irqchip setup order 2018-10-10 14:36:35 +02:00
platform mfd: cros-ec: copy the whole event in get_next_event_xfer 2018-10-09 20:57:30 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-12 21:38:46 -07:00
sbus oradax: remove redundant null check before kfree 2018-10-07 22:42:00 -07:00
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-12 21:38:46 -07:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi
spmi
ssb
staging net: dpaa2: move DPAA2 PTP driver out of staging/ 2018-10-08 10:23:22 -07:00
target
tc
tee
thermal
thunderbolt
tty Fix open-coded multiplication arguments to allocators 2018-10-11 19:10:30 +02:00
uio
usb
uwb
vfio
vhost net: vhost: remove bad code line 2018-10-07 21:31:32 -07:00
video mach64: detect the dot clock divider correctly on sparc 2018-10-07 22:41:05 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile