kernel_optimize_test/drivers
Frank Li 54309fa60b net: fec: fix kernel oops when plug/unplug cable many times
reproduce steps
 1. flood ping from other machine
 	ping -f -s 41000 IP
 2. run below script
    while [ 1 ]; do ethtool -s eth0 autoneg off;
    sleep 3;ethtool -s eth0 autoneg on; sleep 4; done;

You can see oops in one hour.

The reason is fec_restart clear BD but NAPI may use it.
The solution is disable NAPI and stop xmit when reset BD.
disable NAPI may sleep, so fec_restart can't be call in
atomic context.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-08 13:13:30 -07:00
..
accessibility
acpi
amba
ata ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
atm
auxdisplay
base
bcma
block
bluetooth
bus
cdrom
char
clk ARM: late Exynos multiplatform changes 2013-05-07 11:28:42 -07:00
clocksource ARM: late Exynos multiplatform changes 2013-05-07 11:28:42 -07:00
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
edac
eisa
extcon
firewire
firmware
gpio ARM: arm-soc platform updates for 3.10, part 2 2013-05-07 10:57:51 -07:00
gpu
hid
hsi
hv
hwmon
hwspinlock A single patch from Vincent extending OMAP's hwspinlock support to OMAP5. 2013-05-07 14:01:27 -07:00
i2c ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
ide
idle
iio
infiniband
input
iommu
ipack
irqchip ARM: late Exynos multiplatform changes 2013-05-07 11:28:42 -07:00
isdn
leds
lguest
macintosh
mailbox
md
media
memory
memstick
message
mfd
misc
mmc ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
mtd ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
net net: fec: fix kernel oops when plug/unplug cable many times 2013-05-08 13:13:30 -07:00
nfc
ntb
nubus
of net: of_mdio: fix behavior on missing phy device 2013-05-08 13:13:29 -07:00
oprofile
parisc
parport
pci
pcmcia
pinctrl ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
platform
pnp
power
pps
ps3
ptp
pwm
rapidio
regulator
remoteproc This pull request contains: 2013-05-07 14:04:56 -07:00
reset
rpmsg A small pull request consisting of: 2013-05-07 14:02:00 -07:00
rtc
s390
sbus
scsi
sfi
sh
sn
spi ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
ssb
ssbi
staging ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
target
tc
thermal
tty ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
uio
usb
uwb
vfio
vhost vhost: more fixes for 3.10 2013-05-07 10:13:52 -07:00
video ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile