Re: [Qemu-devel] [PATCH v1 07/14] net: hub use lock to protect ports list

2013-05-28 Thread liu ping fan
On Tue, May 21, 2013 at 9:57 PM, Stefan Hajnoczi wrote: > On Tue, May 07, 2013 at 01:46:55PM +0800, Liu Ping Fan wrote: >> From: Liu Ping Fan >> >> Hub ports will run on multi-threads, so use lock to protect them. >> >> Signed-off-by: Liu Ping Fan >> --- >> net/hub.c | 25

Re: [Qemu-devel] [PATCH v1 07/14] net: hub use lock to protect ports list

2013-05-21 Thread Stefan Hajnoczi
On Tue, May 07, 2013 at 01:46:55PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > Hub ports will run on multi-threads, so use lock to protect them. > > Signed-off-by: Liu Ping Fan > --- > net/hub.c | 25 - > 1 files changed, 24 insertions(+), 1 deletions(-) Does

[Qemu-devel] [PATCH v1 07/14] net: hub use lock to protect ports list

2013-05-06 Thread Liu Ping Fan
From: Liu Ping Fan Hub ports will run on multi-threads, so use lock to protect them. Signed-off-by: Liu Ping Fan --- net/hub.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/net/hub.c b/net/hub.c index df32074..812a6dc 100644 --- a/net/hub.c +