Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/32785/?format=api
http://patches.dpdk.org/api/patches/32785/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1514542463-146522-1-git-send-email-junjie.j.chen@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1514542463-146522-1-git-send-email-junjie.j.chen@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1514542463-146522-1-git-send-email-junjie.j.chen@intel.com", "date": "2017-12-29T10:14:23", "name": "[dpdk-dev] examples/vhost: fix sending arp packet to self", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4d463da6e19e644fee5113bc88732d9bbab4ffa1", "submitter": { "id": 903, "url": "http://patches.dpdk.org/api/people/903/?format=api", "name": null, "email": "junjie.j.chen@intel.com" }, "delegate": { "id": 355, "url": "http://patches.dpdk.org/api/users/355/?format=api", "username": "yliu", "first_name": "Yuanhan", "last_name": "Liu", "email": "yuanhan.liu@linux.intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1514542463-146522-1-git-send-email-junjie.j.chen@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/32785/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/32785/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B78651DBF;\n\tFri, 29 Dec 2017 03:34:02 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id AF9681B53\n\tfor <dev@dpdk.org>; Fri, 29 Dec 2017 03:34:00 +0100 (CET)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Dec 2017 18:33:59 -0800", "from dpdk-dev.sh.intel.com ([10.67.111.147])\n\tby fmsmga006.fm.intel.com with ESMTP; 28 Dec 2017 18:33:58 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.45,473,1508828400\"; d=\"scan'208\";a=\"190696566\"", "From": "Junjie Chen <junjie.j.chen@intel.com>", "To": "yliu@fridaylinux.org,\n\tmaxime.coquelin@redhat.com", "Cc": "dev@dpdk.org,\n\tJunjie Chen <junjie.j.chen@intel.com>", "Date": "Fri, 29 Dec 2017 05:14:23 -0500", "Message-Id": "<1514542463-146522-1-git-send-email-junjie.j.chen@intel.com>", "X-Mailer": "git-send-email 2.0.1", "Subject": "[dpdk-dev] [PATCH] examples/vhost: fix sending arp packet to self", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "ARP packets are not dropped when dest vdev is itself, which breaks\nRX ring inconspicuously.\n\nSigned-off-by: Junjie Chen <junjie.j.chen@intel.com>\n---\n examples/vhost/main.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/examples/vhost/main.c b/examples/vhost/main.c\nindex 89a61f0..10a7f5d 100644\n--- a/examples/vhost/main.c\n+++ b/examples/vhost/main.c\n@@ -964,7 +964,8 @@ virtio_tx_route(struct vhost_dev *vdev, struct rte_mbuf *m, uint16_t vlan_tag)\n \t\tstruct vhost_dev *vdev2;\n \n \t\tTAILQ_FOREACH(vdev2, &vhost_dev_list, global_vdev_entry) {\n-\t\t\tvirtio_xmit(vdev2, vdev, m);\n+\t\t\tif (vdev2 != vdev)\n+\t\t\t\tvirtio_xmit(vdev2, vdev, m);\n \t\t}\n \t\tgoto queue2nic;\n \t}\n", "prefixes": [ "dpdk-dev" ] }{ "id": 32785, "url": "