[PATCH] uml: fix net_kern workqueue abuse
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 13 Dec 2006 08:33:50 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:47 +0000 (09:05 -0800)
commiteff3b634d9a0cccb6ca8b431819fa415f10804dc
tree8bf2dac62ce9c4e4aa62ea5a66831ed65ef35137
parentffd22b8e08fb86692d316cdcc1a4da4d10a016c5
[PATCH] uml: fix net_kern workqueue abuse

Fix up the work on stack and exit scope trouble by placing the work_struct
in the uml_net_private data.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/net_kern.c
arch/um/include/net_kern.h