android_kernel_samsung_msm8976/drivers/net/ethernet
Florian Fainelli 2b9a6f3c15 net: korina: Fix NAPI versus resources freeing
commit e6afb1ad88feddf2347ea779cfaf4d03d3cd40b6 upstream.

Commit beb0babfb7 ("korina: disable napi on close and restart")
introduced calls to napi_disable() that were missing before,
unfortunately this leaves a small window during which NAPI has a chance
to run, yet we just freed resources since korina_free_ring() has been
called:

Fix this by disabling NAPI first then freeing resource, and make sure
that we also cancel the restart task before doing the resource freeing.

Fixes: beb0babfb7 ("korina: disable napi on close and restart")
Reported-by: Alexandros C. Couloumbis <alex@ozo.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2019-07-27 21:44:35 +02:00
..
3com Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-08-15 11:41:43 -07:00
8390
adaptec
adi
aeroflex
alteon
amd net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} 2015-04-13 14:02:13 +02:00
apple
atheros atl2: Disable unimplemented scatter/gather feature 2016-06-07 10:42:54 +02:00
broadcom Merge remote-tracking branch 'f2fs/linux-3.10.y' into HEAD 2017-04-18 17:02:28 +02:00
brocade bna: Add synchronization for tx ring. 2019-07-27 21:43:48 +02:00
cadence Merge upstream linux-stable v3.10.28 into msm-3.10 2014-03-24 14:28:34 -07:00
calxeda
chelsio arch: Mass conversion of smp_mb__*() 2014-08-15 11:45:28 -07:00
cirrus
cisco enic: fix rx skb checksum 2015-01-27 07:52:31 -08:00
davicom
dec
dlink
emulex benet: Call dev_kfree_skby_any instead of kfree_skb. 2015-04-29 10:33:57 +02:00
faraday
freescale net: fec: fix potential use after free 2014-01-15 15:28:48 -08:00
fujitsu
hp
i825xx
ibm ibmveth: Fix endian issues with rx_no_buffer statistic 2014-10-05 14:54:07 -07:00
icplus
intel This is the 3.10.84 stable release 2015-09-30 13:25:40 +05:30
marvell net: sky2: Fix shutdown crash 2019-07-27 21:42:44 +02:00
mellanox net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes 2015-12-09 13:40:06 -05:00
micrel
microchip
msm Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
myricom myri10ge: check for DMA mapping errors 2014-10-15 08:31:56 +02:00
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic qlge: Fix receive packets drop. 2016-06-07 10:42:49 +02:00
rdc
realtek r8169: Call dev_kfree_skby_any instead of dev_kfree_skb. 2015-04-29 10:33:56 +02:00
renesas sh_eth: fix NULL pointer dereference in sh_eth_ring_format() 2016-06-07 10:42:49 +02:00
seeq
sfc sfc: check for NULL efx->ptp_data in efx_ptp_event 2014-03-23 21:38:10 -07:00
sgi
silan
sis
smsc Merge upstream linux-stable v3.10.28 into msm-3.10 2014-03-24 14:28:34 -07:00
stmicro stmmac: Correctly report PTP capabilities. 2015-12-09 13:40:06 -05:00
sun vio: fix reuse of vio_dring slot 2014-11-21 09:22:52 -08:00
tehuti net: do not pretend FRAGLIST support 2014-01-15 15:28:45 -08:00
ti drivers: net: cpsw: discard dual emac default vlan configuration 2015-02-05 22:35:37 -08:00
tile
toshiba
tundra
via net,via-rhine: Fix tx_timeout handling 2014-02-06 11:08:16 -08:00
wiznet
xilinx net: do not pretend FRAGLIST support 2014-01-15 15:28:45 -08:00
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c net: jme: fix suspend/resume on JMC260 2016-06-07 10:42:48 +02:00
jme.h
korina.c net: korina: Fix NAPI versus resources freeing 2019-07-27 21:44:35 +02:00
lantiq_etop.c
netx-eth.c
s6gmac.c