linux_dsm_epyc7002/drivers/net/ethernet
Petr Machata d97cda5f46 mlxsw: spectrum_router: Handle encap to demoted tunnels
Some tunnels that are offloadable on their own can nonetheless be
demoted to slow path if their local address is in conflict with that of
another tunnel. When a route is formed for such a tunnel,
mlxsw_sp_nexthop_ipip_init() fails to find the corresponding IPIP entry,
and that triggers a FIB abort.

Resolve the problem by not assuming that a tunnel for which
mlxsw_sp_ipip_ops.can_offload() holds also automatically has an IPIP
entry.

Fixes: af641713e9 ("mlxsw: spectrum_router: Onload conflicting tunnels")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-28 09:55:47 -05:00
..
3com net: 3com: 3c574_cs: mark expected switch fall-through 2017-11-11 19:10:06 +09:00
8390 net: 8390: pcnet_cs: mark expected switch fall-through 2017-11-11 19:10:06 +09:00
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: fix race condition between device reset and link up setup 2017-11-20 11:35:16 +09:00
amd Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
apm
apple
aquantia Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
arc
atheros
aurora
broadcom bnx2x: fix slowpath null crash 2017-11-14 16:16:32 +09:00
brocade
cadence net: macb: add of_node_put to error paths 2017-11-11 15:27:44 +09:00
calxeda
cavium net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts 2017-11-25 23:54:32 +09:00
chelsio Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
cirrus
cisco
davicom
dec
dlink
emulex
ezchip
faraday
freescale fsl/fman_port: mark expected switch fall-throughs 2017-11-11 18:50:33 +09:00
fujitsu
hisilicon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-11-15 11:56:19 -08:00
hp
huawei
i825xx
ibm ibmvnic: fix dma_mapping_error call 2017-11-18 10:37:00 +09:00
intel e1000: Fix off-by-one in debug message 2017-11-27 14:31:24 -08:00
marvell net: mvneta: fix handling of the Tx descriptor counter 2017-11-14 21:52:25 +09:00
mediatek
mellanox mlxsw: spectrum_router: Handle encap to demoted tunnels 2017-11-28 09:55:47 -05:00
micrel
microchip
moxa
myricom
natsemi
neterion net: vxge: Fix some indentation issues 2017-11-20 11:36:30 +09:00
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2017-11-24 02:33:01 +09:00
nuvoton
nvidia forcedeth: replace pci_unmap_page with dma_unmap_page 2017-11-25 05:08:53 +09:00
nxp
oki-semi
packetengines
pasemi
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-17 20:18:37 -08:00
qualcomm
rdc
realtek net: realtek: r8169: implement set_link_ksettings() 2017-11-24 01:36:31 +09:00
renesas
rocker
samsung
seeq
sfc Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
sgi
silan
sis
smsc
stmicro net: stmmac: fix LPI transitioning for dwmac4 2017-11-14 22:04:56 +09:00
sun Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-11-15 11:56:19 -08:00
synopsys mm: remove __GFP_COLD 2017-11-15 18:21:06 -08:00
tehuti
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-17 20:18:37 -08:00
tile Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-11-13 17:56:58 -08:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c fealnx: Fix building error on MIPS 2017-11-16 22:58:12 +09:00
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c