]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19d8865407201c375017bf67069e9f734311d4e4
tree35fe179c0e9714de1d7e7bfd8e2907b54182e918
parent26c291866ee59e3b64973d5d62602b0bc02a9d8f
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