From: Yevgeny Petrilin Date: Mon, 25 May 2009 20:57:21 +0000 (+0000) Subject: mlx4_en: Fix a kernel panic when waking tx queue X-Git-Tag: v2.6.30-rc8~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=465440d2720543669841db5b0691ba41892ed0ae;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed