[PATCH] b44: race on device closing
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 8 Nov 2005 22:37:12 +0000 (23:37 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 9 Nov 2005 06:02:41 +0000 (01:02 -0500)
commitba5eec9c55ec4be99d21a6ea614003b65d7f37d7
tree79070a6366a44bf37101f0dfa3ee73bbc1192120
parentb9dcbb40f40d60c7e33a2b7ea858fcd27c35cc00
[PATCH] b44: race on device closing

Usual fix:
- b44_interrupt() does not schedule NAPI polling when the device is
  going down;
- b44_close() waits for any scheduled NAPI polling before it starts
  to release the private structures of the device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/b44.c