From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4pKw-0004Xx-3X for qemu-devel@nongnu.org; Fri, 24 Aug 2012 04:33:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4pKv-0004pZ-0l for qemu-devel@nongnu.org; Fri, 24 Aug 2012 04:33:50 -0400 Received: from mail.windriver.com ([147.11.1.11]:39215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4pKu-0004pQ-Og for qemu-devel@nongnu.org; Fri, 24 Aug 2012 04:33:48 -0400 Message-ID: <50373C66.9080303@windriver.com> Date: Fri, 24 Aug 2012 16:33:42 +0800 From: Rongqing Li MIME-Version: 1.0 References: <1345794984-10337-1-git-send-email-rongqing.li@windriver.com> <1345794984-10337-2-git-send-email-rongqing.li@windriver.com> <50373955.8020504@redhat.com> In-Reply-To: <50373955.8020504@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/2] hub: change hub can_receive() strategy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com On 2012=E5=B9=B408=E6=9C=8824=E6=97=A5 16:20, Paolo Bonzini wrote: > A link-down NIC should always return 1 from can_receive (and will drop > the packet). Is that the real bug here? > A link-down NIC always return 0 from can_receive. Yes, it is a bug. -Roy > Paolo > > --=20 Best Reagrds, Roy | RongQing Li