Re: [uml-devel] ]PATCH 3.03 1/1] um: VDE backend needs to handle EINTR/EAGAIN

2011-11-19 Thread Frank Laub
Handle EINTR and EAGAIN during vde_send() and vde_recv() in case the VDE library doesn't. Use the same approach that net_user.c takes. Signed-off-by: Frank Laub --- a/arch/um/drivers/vde_user.c +++ b/arch/um/drivers/vde_user.c @@ -11,6 +11,7 @@ #include "um_malloc.h" #include "user.h" #inc

Re: [uml-devel] VDE backend does not handle EINTR properly

2011-11-19 Thread Richard Weinberger
Am 20.11.2011 00:16, schrieb Frank Laub: > When running the VDE backend with 2 uml instances and running iperf > between them, the vde_send() function often returns EINTR. I noticed > that this is accounted for in net_user.c via the use of the > CATCH_EINTR() macro. Thus the following patch uses

[uml-devel] VDE backend does not handle EINTR properly

2011-11-19 Thread Frank Laub
When running the VDE backend with 2 uml instances and running iperf between them, the vde_send() function often returns EINTR. I noticed that this is accounted for in net_user.c via the use of the CATCH_EINTR() macro. Thus the following patch uses the same approach for calls into VDE. It could