[PATCH] uml: fix hang on run_helper() failure on uml_net
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Tue, 11 Apr 2006 05:53:37 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:36 +0000 (06:18 -0700)
commitb1c332c9e813cbee6ca77c3a66ee4d312eb96770
tree8ce0329e77d6c293b0c15ef1d163a81cb1e1a950
parente6fb54abb8a36703f54b7e27a756a3df6667c37b
[PATCH] uml: fix hang on run_helper() failure on uml_net

Fix an hang on a pipe when run_helper() fails when called by change_tramp()
(i.e.  when calling uml_net) - reproduced the bug and verified this fixes it.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: 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_user.c
arch/um/os-Linux/helper.c