linux_dsm_epyc7002/drivers/net/ethernet
Or Gerlitz 423c9db299 net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
Currently we use the global ipv6_stub var to access the ipv6 global
nd table. This practice gets us to troubles when the stub is only partially
set e.g when ipv6 is loaded under the disabled policy. In this case, as of commit
343d60aada ("ipv6: change ipv6_stub_impl.ipv6_dst_lookup to take net argument")
the stub is not null, but stub->nd_tbl is and we crash.

As we can access the ipv6 nd_tbl directly, the fix is just to avoid the
reference through the stub. There is one place in the code where we
issue ipv6 route lookup and keep doing it through the stub, but that
mentioned commit makes sure we get -EAFNOSUPPORT from the stack.

Fixes: 232c001398 ("net/mlx5e: Add support to neighbour update flow")
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2018-03-26 13:58:48 -07:00
..
3com 3c59x: fix missing dma_mapping_error check and bad ring refill logic 2018-01-03 13:44:14 -05:00
8390 ethernet: natsemi: correct spelling 2018-03-06 11:14:08 -05:00
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-09 10:37:00 -05:00
amd amd-xgbe: Restore PCI interrupt enablement setting on resume 2018-02-21 15:39:54 -05:00
apm
apple
aquantia net: aquantia: driver version bump 2018-03-22 12:02:49 -04:00
arc net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred 2018-03-20 12:06:23 -04:00
atheros
aurora
broadcom bnx2x: fix spelling mistake: "registeration" -> "registration" 2018-03-21 18:09:03 -04:00
brocade
cadence net: macb: Handle HRESP error 2018-01-29 14:25:47 -05:00
calxeda
cavium Revert "net: thunderx: Add support for xdp redirect" 2018-02-14 14:23:39 -05:00
chelsio cxgb4: do not set needs_free_netdev for mgmt dev's 2018-03-07 15:33:13 -05:00
cirrus m68k updates for 4.16 2018-01-29 16:37:15 -08:00
cisco
cortina net: gemini: fix memory leak 2018-03-20 12:08:45 -04:00
davicom
dec
dlink
emulex be2net: Handle transmit completion errors in Lancer 2018-02-06 11:48:33 -05:00
ezchip
faraday
freescale net: fec: Fix unbalanced PM runtime calls 2018-03-18 16:32:47 -04:00
fujitsu
hisilicon net: hns: Fix ethtool private flags 2018-03-17 19:48:26 -04:00
hp
huawei hinic: Replace PCI pool old API 2018-01-02 16:14:49 -06:00
i825xx
ibm ibmvnic: Fix early release of login buffer 2018-02-22 14:45:42 -05:00
intel e1000e: Fix link check race condition 2018-03-12 12:05:39 -07:00
marvell mvpp2: fix multicast address filter 2018-02-11 22:37:04 -05:00
mediatek net: mediatek: Explicitly include pinctrl headers 2018-02-05 09:41:54 -08:00
mellanox net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path 2018-03-26 13:58:48 -07:00
micrel
microchip
moxa
myricom
natsemi ethernet: natsemi: correct spelling 2018-03-06 11:14:08 -05:00
neterion
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2018-02-09 14:05:10 -05:00
nuvoton
nvidia forcedeth: remove duplicate structure member in rx 2018-01-23 11:11:41 -05:00
nxp
oki-semi pch_gbe: Deprecate pci_get_bus_and_slot() 2018-01-17 08:16:46 -06:00
packetengines
pasemi
qlogic qede: fix spelling mistake: "registeration" -> "registration" 2018-03-21 18:09:46 -04:00
qualcomm net: qcom/emac: Use proper free methods during TX 2018-03-07 12:21:03 -05:00
rdc
realtek r8169: fix RTL8168EP take too long to complete driver initialization. 2018-01-31 10:26:30 -05:00
renesas sh_eth: uninline TSU register accessors 2018-02-27 14:39:48 -05:00
rocker rocker: fix possible null pointer dereference in rocker_router_fib_event_work 2018-02-01 09:50:52 -05:00
samsung
seeq
sfc sfc: mark some unexported symbols as static 2018-01-28 21:59:18 -05:00
sgi
silan
sis
smsc net: smsc911x: Fix unload crash when link is up 2018-03-07 13:22:09 -05:00
socionext net: ethernet: ave: enable Rx drop interrupt 2018-03-09 12:00:13 -05:00
stmicro net: stmmac: remove redundant enable of PMT irq 2018-02-09 14:23:04 -05:00
sun sunvnet: does not support GSO for sctp 2018-03-14 14:01:33 -04:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface 2018-03-17 19:49:34 -04:00
tile
toshiba
tundra net: tsi108: Use DMA API properly 2018-01-17 18:04:43 -06:00
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c net: jme: remove unused initialization of 'rxdesc' 2018-02-01 14:54:28 -05:00
jme.h
Kconfig net: ethernet: Add a driver for Gemini gigabit ethernet 2018-01-15 14:38:55 -05:00
korina.c
lantiq_etop.c
Makefile net: ethernet: Add a driver for Gemini gigabit ethernet 2018-01-15 14:38:55 -05:00
netx-eth.c