From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id AD0901B1B8 for ; Wed, 24 Jan 2018 16:39:05 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4CEA3226C7; Wed, 24 Jan 2018 10:39:05 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:39:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=eeco20m+owSi7Mjn7 8fkU3aXLY1ORX1pp7yjWPZvs7w=; b=Vce3E2DzyEh0HLm5YV2M1eYpGcCr2E1lp YwNLkO+niEL3pEgsay95hwktwp6mvKccFgQtrClAnzrdkkWVxlgrTUY/RO2j8fL1 D0jF50bBR8aEiyNpBsKFgk5ozadpPIC8crrt8yIj6wgvzRLBgGW09c3AD/p25nM+ wvcG+XinnC/a1ttGA8GcIAICpakZnNWsj1q3hIUxiVfwHTQkdK+MecxNqyUZeKsy vYacIS0aQExOKUmJgdy43oHyRg7DMJ6LBKoM/1e241LCkqclQnvGmyXCTE2osDI5 0R7Jq+Iif9MvRraxOhgJs+9pl9pzK54CPYsa5IprjdUPuPM2uMQmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=eeco20m+owSi7Mjn78fkU3aXLY1ORX1pp7yjWPZvs7w=; b=AAvynSHH oKOCSnro9kb000ZAJ7mjP2tkpJChN8Ax4MbSu9jxsDN9HigXLDOgCxarh+JO6b5P fkfRuoL6+kvwcRkbpDgW5KeWr3T0rqaGk0eR6GXpdM8WRVF5U1nX2YUUPb/vLpdH mLofit/g0Enm2W41P506WWgTQshJOoRLIX9nWIaPAqSoLYb4gQmc+/55fDxmBE+G aH5HscDw7mGWAHV/H6lzfvZYM0U57uqgaQI2Fj+QpYpCsg7NQHAjZLlG1ZNkbo5z haW0jdFZ3TjFiZx0Qd/C4u536eZAkaeCp+KwdRyB5tYlemAWHT8tj9aGzlOa3SUP jCgfic1kCN14xQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 320A17E354; Wed, 24 Jan 2018 10:39:02 -0500 (EST) From: Yuanhan Liu To: Junjie Chen Cc: Yuanhan Liu , dpdk stable Date: Wed, 24 Jan 2018 23:32:19 +0800 Message-Id: <1516808026-25523-71-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/vhost: fix sending ARP packet to self' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:39:05 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 7ebd90ad727d900fd96fec99cfa208a662cecb2b Mon Sep 17 00:00:00 2001 From: Junjie Chen Date: Fri, 29 Dec 2017 09:33:19 -0500 Subject: [PATCH] examples/vhost: fix sending ARP packet to self [ upstream commit a3fdb53270d4359fc8fe1d1faedd737024d10548 ] ARP packets are not dropped when dest vdev is itself, which breaks RX ring inconspicuously. Fixes: 9c5ef51207c6 ("examples/vhost: handle broadcast packet") Signed-off-by: Junjie Chen Acked-by: Yuanhan Liu --- examples/vhost/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 89a61f0..10a7f5d 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -964,7 +964,8 @@ virtio_tx_route(struct vhost_dev *vdev, struct rte_mbuf *m, uint16_t vlan_tag) struct vhost_dev *vdev2; TAILQ_FOREACH(vdev2, &vhost_dev_list, global_vdev_entry) { - virtio_xmit(vdev2, vdev, m); + if (vdev2 != vdev) + virtio_xmit(vdev2, vdev, m); } goto queue2nic; } -- 2.7.4