Re: [Qemu-devel] [PATCH v1 08/14] net: introduce lock to protect NetQueue

2013-05-21 Thread Stefan Hajnoczi
On Tue, May 07, 2013 at 01:46:56PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > NetQueue will be accessed by nc and its peers at the same time, > need lock to protect it. > > Signed-off-by: Liu Ping Fan > --- > net/queue.c | 11 +++ > 1 files changed, 11 insertions(+), 0 delet

[Qemu-devel] [PATCH v1 08/14] net: introduce lock to protect NetQueue

2013-05-06 Thread Liu Ping Fan
From: Liu Ping Fan NetQueue will be accessed by nc and its peers at the same time, need lock to protect it. Signed-off-by: Liu Ping Fan --- net/queue.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/net/queue.c b/net/queue.c index 859d02a..2856c1d 100644 --