Iyappan Subramanian
aeb20b6b3f
drivers: net: xgene: fix: ifconfig up/down crash
Fixing kernel crash when doing ifconfig down and up in a loop,
[ 124.028237] Call trace:
[ 124.030670] [<ffffffc000367ce0>] memcpy+0x20/0x180
[ 124.035436] [<ffffffc00053c250>] skb_clone+0x3c/0xa8
[ 124.040374] [<ffffffc00053ffa4>] __skb_tstamp_tx+0xc0/0x118
[ 124.045918] [<ffffffc00054000c>] skb_tstamp_tx+0x10/0x1c
[ 124.051203] [<ffffffc00049bc84>] xgene_enet_start_xmit+0x2e4/0x33c
[ 124.057352] [<ffffffc00054fc20>] dev_hard_start_xmit+0x2e8/0x400
[ 124.063327] [<ffffffc00056cb14>] sch_direct_xmit+0x90/0x1d4
[ 124.068870] [<ffffffc000550100>] __dev_queue_xmit+0x28c/0x498
[ 124.074585] [<ffffffc00055031c>] dev_queue_xmit_sk+0x10/0x1c
[ 124.080216] [<ffffffc0005c3f14>] ip_finish_output2+0x3d0/0x438
[ 124.086017] [<ffffffc0005c5794>] ip_finish_output+0x198/0x1ac
[ 124.091732] [<ffffffc0005c61d4>] ip_output+0xec/0x164
[ 124.096755] [<ffffffc0005c5910>] ip_local_out_sk+0x38/0x48
[ 124.102211] [<ffffffc0005c5d84>] ip_queue_xmit+0x288/0x330
[ 124.107668] [<ffffffc0005da8bc>] tcp_transmit_skb+0x908/0x964
[ 124.113383] [<ffffffc0005dc0d4>] tcp_send_ack+0x128/0x138
[ 124.118753] [<ffffffc0005d1580>] __tcp_ack_snd_check+0x5c/0x94
[ 124.124555] [<ffffffc0005d7a0c>] tcp_rcv_established+0x554/0x68c
[ 124.130530] [<ffffffc0005df0d4>] tcp_v4_do_rcv+0xa4/0x37c
[ 124.135900] [<ffffffc000539430>] release_sock+0xb4/0x150
[ 124.141184] [<ffffffc0005cdf88>] tcp_recvmsg+0x448/0x9e0
[ 124.146468] [<ffffffc0005f2f3c>] inet_recvmsg+0xa0/0xc0
[ 124.151666] [<ffffffc000533660>] sock_recvmsg+0x10/0x1c
[ 124.156863] [<ffffffc0005370d4>] SyS_recvfrom+0xa4/0xf8
[ 124.162061] Code: f2400c84 540001c0 cb040042 36000064 (38401423)
[ 124.168133] ---[ end trace 7ab2550372e8a65b ]---
The fix was to reorder napi_enable, napi_disable, request_irq and
free_irq calls, move register_netdev after dma_coerce_mask_and_coherent.
Signed-off-by: Iyappan Subramanian <[email protected]>
Tested-by: Khuong Dinh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
|
2015-11-24 16:25:00 -05:00 |
| .. |
|
accessibility
|
|
|
|
acpi
|
More power management and ACPI updates for v4.4-rc1
|
2015-11-12 11:50:33 -08:00 |
|
amba
|
|
|
|
android
|
|
|
|
ata
|
SCSI misc on 20151113
|
2015-11-13 20:35:54 -08:00 |
|
atm
|
|
|
|
auxdisplay
|
|
|
|
base
|
More power management and ACPI updates for v4.4-rc1
|
2015-11-12 11:50:33 -08:00 |
|
bcma
|
|
|
|
block
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
|
2015-11-13 09:24:40 -08:00 |
|
bluetooth
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
2015-11-10 18:11:41 -08:00 |
|
bus
|
ARM: SoC driver updates for v4.4
|
2015-11-10 15:00:03 -08:00 |
|
cdrom
|
|
|
|
char
|
Merge tag 'tpmdd-next-20151110' of https://github.com/jsakkine/linux-tpmdd into for-linus
|
2015-11-12 20:38:04 +11:00 |
|
clk
|
h8300 update for v4.4
|
2015-11-12 15:26:39 -08:00 |
|
clocksource
|
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
|
2015-11-15 09:10:53 -08:00 |
|
connector
|
mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd
|
2015-11-06 17:50:42 -08:00 |
|
cpufreq
|
More power management and ACPI updates for v4.4-rc1
|
2015-11-12 11:50:33 -08:00 |
|
cpuidle
|
|
|
|
crypto
|
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
|
2015-11-17 09:40:05 -08:00 |
|
dca
|
|
|
|
devfreq
|
|
|
|
dio
|
|
|
|
dma
|
dmaengine updates for 4.4-rc1
|
2015-11-10 10:05:17 -08:00 |
|
dma-buf
|
dma-buf/fence: add fence_wait_any_timeout function v2
|
2015-10-30 01:16:16 -04:00 |
|
edac
|
asm-generic cleanups
|
2015-11-06 14:22:15 -08:00 |
|
eisa
|
|
|
|
extcon
|
|
|
|
firewire
|
IEEE 1394 subsystem patch:
|
2015-11-11 10:21:34 -08:00 |
|
firmware
|
ARM: SoC driver updates for v4.4
|
2015-11-10 15:00:03 -08:00 |
|
fmc
|
|
|
|
fpga
|
fpga: socfpga: Fix check of return value of devm_request_irq
|
2015-10-29 15:20:25 -07:00 |
|
gpio
|
asm-generic cleanups
|
2015-11-06 14:22:15 -08:00 |
|
gpu
|
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
|
2015-11-13 09:12:38 -08:00 |
|
hid
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
|
2015-11-07 12:49:27 -08:00 |
|
hsi
|
hsi: controllers:remove redundant code
|
2015-10-30 16:10:40 +01:00 |
|
hv
|
drivers/hv: share Hyper-V SynIC constants with userspace
|
2015-11-04 16:24:33 +01:00 |
|
hwmon
|
hwmon: (scpi) skip unsupported sensors properly
|
2015-11-16 09:59:50 -08:00 |
|
hwspinlock
|
|
|
|
hwtracing
|
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
|
2015-11-13 20:04:17 -08:00 |
|
i2c
|
Merge branch 'i2c/for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
|
2015-11-10 11:58:25 -08:00 |
|
ide
|
mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
|
2015-11-06 17:50:42 -08:00 |
|
idle
|
|
|
|
iio
|
spi: Updates for v4.4
|
2015-11-05 13:15:12 -08:00 |
|
infiniband
|
SCSI misc on 20151113
|
2015-11-13 20:35:54 -08:00 |
|
input
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
|
2015-11-13 21:41:14 -08:00 |
|
iommu
|
s390/pci_dma: handle dma table failures
|
2015-11-09 09:10:49 +01:00 |
|
ipack
|
|
|
|
irqchip
|
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
|
2015-11-15 09:10:53 -08:00 |
|
isdn
|
TTY/Serial driver patches for 4.4-rc1
|
2015-11-04 21:35:12 -08:00 |
|
leds
|
spi: Updates for v4.4
|
2015-11-05 13:15:12 -08:00 |
|
lguest
|
|
|
|
lightnvm
|
block: change ->make_request_fn() and users to return a queue cookie
|
2015-11-07 10:40:46 -07:00 |
|
macintosh
|
|
|
|
mailbox
|
mailbox: mailbox-test: avoid reading iomem twice
|
2015-11-04 14:03:04 +05:30 |
|
mcb
|
mcb: Destroy IDA on module unload
|
2015-10-29 09:02:16 +09:00 |
|
md
|
Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-block
|
2015-11-10 17:23:49 -08:00 |
|
media
|
netup_unidvb: use pci_set_dma_mask insted of pci_dma_supported
|
2015-11-10 16:32:11 -08:00 |
|
memory
|
ARM: SoC driver updates for v4.4
|
2015-11-10 15:00:03 -08:00 |
|
memstick
|
|
|
|
message
|
SCSI queue for 4.4.
|
2015-11-12 07:06:18 -05:00 |
|
mfd
|
asm-generic cleanups
|
2015-11-06 14:22:15 -08:00 |
|
misc
|
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
|
2015-11-13 20:04:17 -08:00 |
|
mmc
|
spi: Updates for v4.4
|
2015-11-05 13:15:12 -08:00 |
|
mtd
|
This pull request includes the following UBI/UBIFS changes:
|
2015-11-10 16:35:06 -08:00 |
|
net
|
drivers: net: xgene: fix: ifconfig up/down crash
|
2015-11-24 16:25:00 -05:00 |
|
nfc
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
2015-11-10 18:11:41 -08:00 |
|
ntb
|
NTB: fix 32-bit compiler warning
|
2015-11-08 16:24:43 -05:00 |
|
nubus
|
|
|
|
nvdimm
|
libnvdimm, pmem: fix size trim in pmem_direct_access()
|
2015-11-12 09:55:23 -08:00 |
|
nvme
|
NVMe: add support for Apple NVMe controller
|
2015-11-11 09:36:57 -07:00 |
|
nvmem
|
|
|
|
of
|
More power management and ACPI updates for v4.4-rc1
|
2015-11-12 11:50:33 -08:00 |
|
oprofile
|
|
|
|
parisc
|
pci: remove pci_dma_supported
|
2015-11-10 16:32:11 -08:00 |
|
parport
|
|
|
|
pci
|
More power management and ACPI updates for v4.4-rc1
|
2015-11-12 11:50:33 -08:00 |
|
pcmcia
|
|
|
|
perf
|
arm64 updates for 4.4:
|
2015-11-04 14:47:13 -08:00 |
|
phy
|
phy: qcom-ufs: fix build error when the component is built as a module
|
2015-11-09 17:44:24 -05:00 |
|
pinctrl
|
This is the bulk of GPIO changes for v4.4:
|
2015-11-02 12:59:12 -08:00 |
|
platform
|
platform/chrome: Branch for v4.4
|
2015-11-13 21:53:18 -08:00 |
|
pnp
|
|
|
|
power
|
- New Device Support
|
2015-11-06 10:23:50 -08:00 |
|
powercap
|
|
|
|
pps
|
|
|
|
ps3
|
|
|
|
ptp
|
|
|
|
pwm
|
pwm: Changes for v4.4-rc1
|
2015-11-11 09:16:10 -08:00 |
|
rapidio
|
|
|
|
ras
|
|
|
|
regulator
|
spi: Updates for v4.4
|
2015-11-05 13:15:12 -08:00 |
|
remoteproc
|
|
|
|
reset
|
|
|
|
rpmsg
|
|
|
|
rtc
|
RTC for 4.4
|
2015-11-10 10:01:21 -08:00 |
|
s390
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
|
2015-11-18 08:59:29 -08:00 |
|
sbus
|
|
|
|
scsi
|
SCSI misc on 20151113
|
2015-11-13 20:35:54 -08:00 |
|
sfi
|
|
|
|
sh
|
|
|
|
sn
|
|
|
|
soc
|
ARM: SoC driver updates for v4.4
|
2015-11-10 15:00:03 -08:00 |
|
spi
|
Merge remote-tracking branches 'spi/topic/s3c64xx', 'spi/topic/ti-qspi' and 'spi/topic/txx9' into spi-next
|
2015-11-04 11:02:16 +00:00 |
|
spmi
|
char/misc drivers for 4.4-rc1
|
2015-11-04 22:15:15 -08:00 |
|
ssb
|
ssb: add Kconfig entry for compiling SoC related code
|
2015-10-28 21:05:21 +02:00 |
|
staging
|
Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-block
|
2015-11-10 17:23:49 -08:00 |
|
target
|
SCSI misc on 20151113
|
2015-11-13 20:35:54 -08:00 |
|
tc
|
|
|
|
thermal
|
thermal: rockchip: fix compile error
|
2015-11-11 19:52:39 -08:00 |
|
thunderbolt
|
|
|
|
tty
|
asm-generic cleanups
|
2015-11-06 14:22:15 -08:00 |
|
uio
|
|
|
|
usb
|
SCSI misc on 20151113
|
2015-11-13 20:35:54 -08:00 |
|
uwb
|
driver core update for 4.4-rc1
|
2015-11-04 21:50:37 -08:00 |
|
vfio
|
VFIO updates for v4.4-rc1
|
2015-11-13 17:05:32 -08:00 |
|
vhost
|
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
|
2015-11-13 20:04:17 -08:00 |
|
video
|
fbdev changes for 4.4
|
2015-11-10 10:00:09 -08:00 |
|
virt
|
|
|
|
virtio
|
|
|
|
vlynq
|
|
|
|
vme
|
char/misc drivers for 4.4-rc1
|
2015-11-04 22:15:15 -08:00 |
|
w1
|
power supply and reset changes for the v4.4 series
|
2015-11-05 12:28:15 -08:00 |
|
watchdog
|
Merge git://www.linux-watchdog.org/linux-watchdog
|
2015-11-10 10:11:12 -08:00 |
|
xen
|
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
|
2015-11-13 20:04:17 -08:00 |
|
zorro
|
|
|
|
Kconfig
|
char/misc drivers for 4.4-rc1
|
2015-11-04 22:15:15 -08:00 |
|
Makefile
|
char/misc drivers for 4.4-rc1
|
2015-11-04 22:15:15 -08:00 |