On Monday 30 January 2006 20:26, Jeff Dike wrote:
> On Sun, Jan 29, 2006 at 02:27:42PM +0100, Robert Hillen wrote:
> > Thanks Jeff. Your patch seems to fix the problem partly, but I still get
> > the "device busy" error because the tun device still remains attached to
> > one process after eth0 is disabled in the uml.

> Can you try the attached patch, which replaces the earlier one?

Ack from me - I was dubious about moving that os_close_file but it's correct, 
with CLONE_FILES it must be skipped in the success case (or you close the 
read end for the thread). To be remarked however or someone may "fix" it.

And keeping both sides of the pipe open is ok, as long as you don't rely on 
getting reports that the other side of the pipe was closed (aka, you don't 
get any 0-sized read, nor EPIPE/SIGPIPE on write).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to