Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56460/?format=api
http://patches.dpdk.org/api/patches/56460/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1563205172-352-1-git-send-email-erik.g.carrillo@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": "<1563205172-352-1-git-send-email-erik.g.carrillo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1563205172-352-1-git-send-email-erik.g.carrillo@intel.com", "date": "2019-07-15T15:39:30", "name": "[0/2] fix segfault seen with performance-thread example", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 762, "url": "http://patches.dpdk.org/api/people/762/?format=api", "name": "Carrillo, Erik G", "email": "erik.g.carrillo@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1563205172-352-1-git-send-email-erik.g.carrillo@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/56460/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/56460/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 D1B492C18;\n\tMon, 15 Jul 2019 17:39:22 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 00E152BA8\n\tfor <dev@dpdk.org>; Mon, 15 Jul 2019 17:39:20 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jul 2019 08:39:19 -0700", "from wcpqa1.an.intel.com ([10.123.72.207])\n\tby orsmga008.jf.intel.com with ESMTP; 15 Jul 2019 08:39:19 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,493,1557212400\"; d=\"scan'208\";a=\"161116889\"", "From": "Erik Gabriel Carrillo <erik.g.carrillo@intel.com>", "To": "thomas@monjalon.net", "Cc": "dev@dpdk.org", "Date": "Mon, 15 Jul 2019 10:39:30 -0500", "Message-Id": "<1563205172-352-1-git-send-email-erik.g.carrillo@intel.com>", "X-Mailer": "git-send-email 1.7.10", "Subject": "[dpdk-dev] [PATCH 0/2] fix segfault seen with performance-thread\n\texample", "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": "A crash occurs in the examples/performance-thread/l3fwd-thread when it calls\ninto rte_timer_manage() from the LThread library it utilizes. This happens\nbecause the application omitted a call to rte_timer_subsystem_init(), which\nleaves a pointer set to null in the timer library. This pointer is\ndereferenced in a check for validity of a timer data object, resulting in\nthe segfault. This series fixes the validity check in the timer library,\nand adds the missing call to rte_timer_subsystem_init in the application.\n\nErik Gabriel Carrillo (2):\n timer: fix null pointer dereference\n examples/performance-thread: init timer subsystem\n\n examples/performance-thread/l3fwd-thread/main.c | 5 +++++\n lib/librte_timer/rte_timer.c | 3 ++-\n 2 files changed, 7 insertions(+), 1 deletion(-)", "diff": null, "prefixes": [ "0/2" ] }{ "id": 56460, "url": "