diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2009-05-25 22:57:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-30 07:04:42 +0200 |
commit | 465440d2720543669841db5b0691ba41892ed0ae (patch) | |
tree | e037c9c1796086a5cd223f170a8a8d295f2a4e99 /drivers/net/ibmlana.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-465440d2720543669841db5b0691ba41892ed0ae.tar.xz linux-465440d2720543669841db5b0691ba41892ed0ae.zip |
mlx4_en: Fix a kernel panic when waking tx queue
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>
Diffstat (limited to 'drivers/net/ibmlana.c')
0 files changed, 0 insertions, 0 deletions