Bug#595554: [PATCH net-2.6] 3c59x: Fix deadlock in vortex_error()

2010-09-06 Thread David Miller
From: Ben Hutchings Date: Tue, 07 Sep 2010 02:27:10 +0100 > This is the regression I mentioned before. 3c59x should be good after > this. Excellent, applied, thanks! -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas.

Bug#595554: [PATCH net-2.6] 3c59x: Fix deadlock in vortex_error()

2010-09-06 Thread Ben Hutchings
This fixes a bug introduced in commit de847272149365363a6043a963a6f42fb91566e2 "3c59x: Use fine-grained locks for MII and windowed register access". vortex_interrupt() holds vp->window_lock over multiple register accesses to reduce locking overhead. However it also needs to call vortex_error() so