e100: Fix the TX workqueue race
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Apr 2010 04:09:29 +0000 (21:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Apr 2010 04:09:29 +0000 (21:09 -0700)
commit401da6aea31ef69c2fcd260382adabdcf7ce820a
tree35fe179c0e9714de1d7e7bfd8e2907b54182e918
parent7ce97d4f78b62e3af24cdd4df953d777e7efb2f6
e100: Fix the TX workqueue race

Nothing stops the workqueue being left to run in parallel with close or a
few other operations. This causes double unmaps and the like.

See kerneloops.org #1041230 for an example

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e100.c