From: David Miller Subject: Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving Date: Fri, 20 Jan 2017 11:03:57 -0500 (EST) Message-ID: <20170120.110357.940788880370139025.davem@davemloft.net> References: <1484893962-7614-1-git-send-email-jasowang@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: rolf.neugebauer@docker.com, netdev@vger.kernel.org, mst@redhat.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org To: jasowang@redhat.com Return-path: In-Reply-To: <1484893962-7614-1-git-send-email-jasowang@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org From: Jason Wang Date: Fri, 20 Jan 2017 14:32:42 +0800 > Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on > xmit") in fact disables VIRTIO_HDR_F_DATA_VALID on receiving path too, > fixing this by adding a hint (has_data_valid) and set it only on the > receiving path. > > Cc: Rolf Neugebauer > Signed-off-by: Jason Wang Applied, thanks Jason.