From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8RT-0004L8-R8 for qemu-devel@nongnu.org; Wed, 02 Sep 2015 09:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX8RP-0008Ul-DM for qemu-devel@nongnu.org; Wed, 02 Sep 2015 09:51:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8RP-0008Uh-81 for qemu-devel@nongnu.org; Wed, 02 Sep 2015 09:51:07 -0400 Date: Wed, 2 Sep 2015 14:51:03 +0100 From: Stefan Hajnoczi Message-ID: <20150902135103.GC1924@stefanha-thinkpad.redhat.com> References: <1435717587-18155-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435717587-18155-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] vmxnet3: Drop net_vmxnet3_info.can_receive List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Dmitry Fleytman , jasowang@redhat.com, qemu-devel@nongnu.org On Wed, Jul 01, 2015 at 10:26:27AM +0800, Fam Zheng wrote: > Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the > semantics around .can_receive for sockets to now require the device to > flush queued pkts when transitioning to a .can_receive=true state. But > it's OK to drop incoming packets when the link is not active. > > Signed-off-by: Fam Zheng > --- > hw/net/vmxnet3.c | 1 - > 1 file changed, 1 deletion(-) Sorry, this was dropped when waiting to see how the .can_receive() stuff would end up for QEMU 2.4. Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan