Re: [Qemu-devel] [PATCH 3/3] net: complete NetSocketS?tate lifecycle handling

2012-06-18 Thread Zhi Yong Wu
please ignore this. thanks. On Tue, Jun 19, 2012 at 1:13 AM, wrote: > From: Zhi Yong Wu > > The NetSocketState struct contains two file descriptors: an active > connection and a listen socket for new connections.  It's important that > we clean up after ourselves so these file descriptors are i

[Qemu-devel] [PATCH 3/3] net: complete NetSocketS?tate lifecycle handling

2012-06-18 Thread zwu . kernel
From: Zhi Yong Wu The NetSocketState struct contains two file descriptors: an active connection and a listen socket for new connections. It's important that we clean up after ourselves so these file descriptors are initialized to -1 when unused. This allows makes it possible to call cleanup fun