]> git.baikalelectronics.ru Git - kernel.git/commit
WAN: Fix a TX IRQ causing BUG() in PC300 and PCI200SYN drivers.
authorKrzysztof Halasa <khc@pm.waw.pl>
Sun, 12 Dec 2010 12:06:47 +0000 (12:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Dec 2010 23:03:00 +0000 (15:03 -0800)
commitf6723edabf7f8fb958c770816366d9ad6073551b
treef27368d0796494cc8d8469e2f387cb2d43f4b209
parentaeebcb292b8366ee9a20ae9baa3b2cf24238ef08
WAN: Fix a TX IRQ causing BUG() in PC300 and PCI200SYN drivers.

We must not wake the TX queue without free TX descriptors.
sca_xmit() expects at least one free descriptor and BUGs otherwise.

Problem reported and fix tested by Bernie Innocenti and Ward Vandewege.

Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hd64572.c