]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] prism54: fix potential race in reset scheduling
authorDmitry Torokhov <dtor@insightbb.com>
Sun, 8 Oct 2006 04:38:14 +0000 (00:38 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:11:57 +0000 (00:11 -0500)
commit699c9099b2eb30689c107d551cf4e9e2be0a36a9
tree813592f56a6f090c7732aa7da675276b722da6ab
parent4c9104d588742e10e40194fc513214dd740d1b2e
[PATCH] prism54: fix potential race in reset scheduling

NET: prism54 - fix potential race in reset scheduling

There appears to be a race in reset scheduling logic - thread
responsible for reseting the interface should clear "reset
pending" flag before restarting the queue, otherwise timeout
handler might not schedule another reset even if it is needed.

This race is mostly theoretical as far as I can see but a race
nonetheless.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/islpci_eth.c