Closed thehajime closed 9 years ago
(renamed the issue title)
https://github.com/thehajime/net-next-nuse/blob/nuse/arch/sim/nuse-glue.c#L431
int open (const char *pathname, int flags) { curfd++; return host_open (pathname, flags); }
this should NOT return a 'real' fd number, but pseudo fd num (curfd).
b21e5a8 is more improved version of the fix to this issue.
both are closing socket for VIF, resulting no VIF channel after that (no RX/TX).