Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/60625/?format=api
https://patches.dpdk.org/api/patches/60625/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191007154343.8556-2-stephen@networkplumber.org/", "project": { "id": 1, "url": "https://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": "<20191007154343.8556-2-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20191007154343.8556-2-stephen@networkplumber.org", "date": "2019-10-07T15:43:39", "name": "[v5,1/5] mbuf: don't generate invalid mbuf in clone test", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "341ddfaa23a28153f592afba122bbc6f91b9c86d", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191007154343.8556-2-stephen@networkplumber.org/mbox/", "series": [ { "id": 6725, "url": "https://patches.dpdk.org/api/series/6725/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6725", "date": "2019-10-07T15:43:38", "name": "mbuf copy/cloning enhancements", "version": 5, "mbox": "https://patches.dpdk.org/series/6725/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/60625/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/60625/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 C940D1C1C6;\n\tMon, 7 Oct 2019 17:43:56 +0200 (CEST)", "from mail-pf1-f195.google.com (mail-pf1-f195.google.com\n\t[209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 1E8D81C12E\n\tfor <dev@dpdk.org>; Mon, 7 Oct 2019 17:43:53 +0200 (CEST)", "by mail-pf1-f195.google.com with SMTP id 205so8928171pfw.2\n\tfor <dev@dpdk.org>; Mon, 07 Oct 2019 08:43:53 -0700 (PDT)", "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tk5sm20779345pfp.109.2019.10.07.08.43.50\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 07 Oct 2019 08:43:50 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Q4INw0jXclEiki3qquDLRi7spTdZl6ftU0aD9i1ySi8=;\n\tb=w39jcvWnhb75zw/m6b761+fDHyUtt2tSg/AXwTsyUXAit3tLZKVx/6YgLJGh6v8K/O\n\tDgKZ7oL4+nHM2C+zlJjQ0halP8s50XgxVSaZ5cmamVJS0Nv5BBoNUxR92/oeKO1WasTu\n\tUXrLsbB1LzptcSvOSyL0X1UNOjpsZBHpR3NsQkOKQAOYaiqFHaU6DeyNwcYnb+r0IyWr\n\t0O7z1ccMEyAYRf/aZQ18TFG7DesjjAXGBIJdgUFRJdrWTg0KCPtSIzaBadxtXzdfvFCr\n\tsPOWY8WAjqalA/YU1seam+fhOFrGGxAA0Q30mUDR0pOdLFzeuiY7uSTMQZ0arL1dIAng\n\tKVYw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Q4INw0jXclEiki3qquDLRi7spTdZl6ftU0aD9i1ySi8=;\n\tb=Fxlbr51zs619bh6yjn9dTQuUutBhVIZ21WoVKj75NdE2Zfclt1qsnGqDdLXqSG7eaS\n\tTXEKPJQ10adUT/jnCXmKT33ZhzgjnGPNbFfOmxw4D7vone60U7YXhDLgVU7hLr4A+1lC\n\tzcmrhpGTrCDjdeEVDNtVtqopXe/sIeroCpAb0D0JOdA5BIdd2MsjHdI+MY6nxbqWSxhs\n\tysCTqup9iYclPyGFl5G2sK5Dh51r6K6kPSPTdTDMf3slrDUO60N3uZw9oZi181mL+kz0\n\t86gcon25bqQq9GLkwfeUSV3VbXqAW4xxPMSUUvIVr2jgXTixHU6+8tyUSoTKtxV4Gm+i\n\t3MLg==", "X-Gm-Message-State": "APjAAAWolechHlCiqv2B1K1LyR4PH3jlIz2rZKG9Yt+IdRsdcvOQpiSs\n\tcuB+M44/AlKf1Wjyzx5uthwyW6eElt6kmg==", "X-Google-Smtp-Source": "APXvYqxtUEz1IAlESN02whKzbn4S7WKkYYXZHJPee+BSamaQaQDzDYg6H4OPqALlzLgqSP0XjDp3xQ==", "X-Received": "by 2002:a17:90a:ad81:: with SMTP id\n\ts1mr34972529pjq.27.1570463031798; \n\tMon, 07 Oct 2019 08:43:51 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Mon, 7 Oct 2019 08:43:39 -0700", "Message-Id": "<20191007154343.8556-2-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20191007154343.8556-1-stephen@networkplumber.org>", "References": "<20190928003758.18489-1-stephen@networkplumber.org>\n\t<20191007154343.8556-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v5 1/5] mbuf: don't generate invalid mbuf in\n\tclone test", "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The test for cloning changed mbuf would generate an mbuf\nwhose length and segments were invalid. This would cause a crash\nif test was run with mbuf debugging enabled.\n\nFixes: f1022aba76a5 (\"app/test: rename mbuf variable\")\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test/test_mbuf.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c\nindex 2a97afe2044a..aafad0cf6206 100644\n--- a/app/test/test_mbuf.c\n+++ b/app/test/test_mbuf.c\n@@ -332,8 +332,11 @@ testclone_testupdate_testdetach(struct rte_mempool *pktmbuf_pool)\n \tm->next = rte_pktmbuf_alloc(pktmbuf_pool);\n \tif (m->next == NULL)\n \t\tGOTO_FAIL(\"Next Pkt Null\\n\");\n+\tm->nb_segs = 2;\n \n \trte_pktmbuf_append(m->next, sizeof(uint32_t));\n+\tm->pkt_len = 2 * sizeof(uint32_t);\n+\n \tdata = rte_pktmbuf_mtod(m->next, unaligned_uint32_t *);\n \t*data = MAGIC_DATA;\n \n", "prefixes": [ "v5", "1/5" ] }{ "id": 60625, "url": "