https://github.com/torvalds/linux
Revision 465440d2720543669841db5b0691ba41892ed0ae authored by Yevgeny Petrilin on 25 May 2009, 20:57:21 UTC, committed by David S. Miller on 30 May 2009, 05:04:42 UTC
When the transmit queue gets full we enable interrupts for TX completions
There was a race that we handled the TX queue both from the interrupt context
and from the transmit function. Using "spin_trylock_irq()" ensures this
doesn't happen.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e857375
History
Tip revision: 465440d2720543669841db5b0691ba41892ed0ae authored by Yevgeny Petrilin on 25 May 2009, 20:57:21 UTC
mlx4_en: Fix a kernel panic when waking tx queue
Tip revision: 465440d
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 144.4 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top