projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3cb2e
)
e1000: use flush_work_keventd()
author
Andrew Morton
<
[email protected]
>
Wed, 9 May 2007 09:33:58 +0000
(
02:33
-0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 9 May 2007 19:30:51 +0000
(12:30 -0700)
Switch e1000 over to flush_work_keventd(). This probably fixes a netdev-close
versus linkwatch rtnl_lock() deadlock which nobody knew about.
(akpm: bypassed maintainers, sorry. There are other patches which depend on
this)
Cc: "Maciej W. Rozycki" <
[email protected]
>
Cc: David Howells <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Cc: Jeff Garzik <
[email protected]
>
Acked-by: Auke Kok <
[email protected]
>
Cc: Oleg Nesterov <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/net/e1000/e1000_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
index 3a03a74c0609b89172941ccb9e6a9586005bbf31..397e25bdbfecfd68d4808847850e1f5e8cbd5287 100644
(file)
--- a/
drivers/net/e1000/e1000_main.c
+++ b/
drivers/net/e1000/e1000_main.c
@@
-1214,7
+1214,7
@@
e1000_remove(struct pci_dev *pdev)
int i;
#endif
- flush_
scheduled_work(
);
+ flush_
work_keventd(&adapter->reset_task
);
e1000_release_manageability(adapter);