From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0049.outbound.protection.outlook.com [104.47.38.49]) by dpdk.org (Postfix) with ESMTP id E503F1B16A for ; Tue, 9 Jan 2018 05:40:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oIHVpHtXM68lXNp2TLJy6NFFundafkO8sdUtT5KU6dw=; b=iVgkO951urCigiL29CwEhymsacPIKoEFHb7oUl3OIkLmESrwOPsUmZdpOXEaz+Q7l1PLFM1/nZG0CAMIwtyVCVzwa5pexEB6lv7EUR8a9scVMPuhISnLlPSCwKwaM1eLZ3ygfS1Abp0bKHDjNBz/3vYmecsRDE7IW4uO7zgWPNQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.92.144) by BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.366.8; Tue, 9 Jan 2018 04:40:08 +0000 Date: Tue, 9 Jan 2018 10:09:50 +0530 From: Jerin Jacob To: Keith Wiles Cc: dev@dpdk.org Message-ID: <20180109043949.GA24301@jerin> References: <20180108153423.57648-1-keith.wiles@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180108153423.57648-1-keith.wiles@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [171.61.92.144] X-ClientProxiedBy: MA1PR01CA0091.INDPRD01.PROD.OUTLOOK.COM (10.174.56.31) To BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ac50641f-d844-4a2c-e980-08d5571b10d2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 3:AeELlpQ0pzqoIetiKTujKHQ8TlBINmd98+M6JOvQCO0D5aXXrpfcNDJjxPIYFHEY+8f1buiKYCpotv3+r98MTjbVXMxB0n9WVN6jqym1aRQNBphtji8iGdCQXdUnVIl7AH5WjWTcGMHTlffqdamUyZ6oP2lx8r1pIA0hRf1sJATu5MbSrBzDhfERwe67fuWmMKV/oYumxiDXgHOcXplKgdr+DVAyc7xzB/00DWLEcyzJfuzc75XgSaif1mWLvG3Z; 25:PlTfFLsEupAyGCI44Mmn7LTaAxI7aGZVhwBpfVJIo560LlxAMPO2jztGW+NC2A0/Tz1ZF+mXJf1mU5udL1zvfIOwV+pJJvMe3ePweJSz00YnhMv+jRTDqG1bZ6RpuEL0n4IMrD3XAHda/i3B5e8ipe59ZDsg2yDNzr5ONqITF9VNZhz2s7TZNMyVX1ol1XxURZ1bxrmSdo5fNu44RyvsyFl4gfKWdCbTwPnn/qUopxAOVjYyv4wEodG+bvFOl6jljeyCWeugU7mCRy7aaB91k/LJga3RBmUvx29stUG8OFzrN6tzVQZJdnNy+K6/nHRI0OpRu/Ok7fbyTaExepOIsw==; 31:UiA1TddzoQzIQorEqISxZDTozZyJtYfRodKtxTUY3ryZUfdhmLZrh7DJDW+pEICiXlJ5Qhugsec6s63dZ/g20FC+YxkySW6rFmyAw6hOQ7Sg/JKwJCaO5CqMje6GyM4q4nPEIr1XuSalv4HuY8hqYy3/aCMG+Duv6Av++m1cdPuNpgcUXkfPZPEJggM7V+iyoT9RtHnDf2QA5KbTENoYaVZF9cNdVGny6sKn5kvmz0Q= X-MS-TrafficTypeDiagnostic: BN3PR07MB2515: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 20:OQu/pdhPQuN1XYO5Wv+TmZWZjZpQ6xGrt/53ailPKKX8V55TYgABFeyZdw3RV2BX38+1XMyf7+AhnxR0BmKAfkzXxPcApAU9m8RSRyct0AFNbgaqgITS/2jH9bszzfvmiIyf1kEqofXpzgtVaKO+1SzNDqtCDMEhFI3prggztKcQdEZec97LjUkskc/31rtzbzBWfCAjpbH08jUq/h2saxCwFuG8Fud5T1XjhlndpSZliwCwWdRuKCiFIumOSmXQGOq3i4PzvZG0AjadvE8R0xewYJZrOK4TE4JiMDPvnhvKf4RC9rM8fwSAqSioRjQM5r7ihLBTmvevidg55OHBehxEB8LfBuucs+FRpkJv536NvjcTXH52EDUJyOLL3YxVJwzjo9Q/gqaM+t+WvOk6bZH91ROG69+j6DdPdqeabTnYpicLeCfTOnAtswEv64GO3szuwWLxIjXEdnXZy89xX3+BwzyzdIOGnClIf3nmWl64quQkfWO3UGBpkcs4SYgvaD2pH0lBWpX7TTQJY0lJqcr6cWt663XjC8zY2fkKiaiYbLRNle4TrekzY6ikHF+7E2LZG7AwZkWDeaGDMUi4ciC1RKi0+msnkQlEd0jukRk=; 4:8QSNjgK+C6wZYJX1O2xrvt99upBGxJ7QF5q1ZiOPx0xwB+lIBaqDuHXbbtygVCkOPzMQtpwPW0WE/2GnoryKRb6Ng0FmMI45Xs/C+vUOTbZ9udSbXzpHl6B4+tzVRMmORveZHtrSVmKXwCsYLQCJ5vDOfXJjR7MbIuyxLcTtWwwg4+zS4HAj8ZcRzWUsofEpy/Vmj3lMK6NfXh5zCRVcAjjMCF5TyvbgFr4BExvYqcdokUSXBDF/DAiwbLxLaN0CvSs5iBtEhHk700dIi6/xQ+On/BA9/lTZqxa0pUrMXUHriEv1E2pZlsNVRN7j3LC3 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(3002001)(10201501046)(93006095)(6041268)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:BN3PR07MB2515; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2515; X-Forefront-PRVS: 0547116B72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39850400004)(39380400002)(366004)(376002)(346002)(396003)(189003)(199004)(13464003)(81156014)(8676002)(33656002)(7736002)(33716001)(16526018)(47776003)(5660300001)(55016002)(478600001)(105586002)(2906002)(2950100002)(76176011)(81166006)(305945005)(9686003)(106356001)(66066001)(50466002)(8936002)(23726003)(25786009)(58126008)(97736004)(6246003)(59450400001)(4326008)(16586007)(6496006)(33896004)(3846002)(386003)(52116002)(229853002)(53936002)(6116002)(83506002)(72206003)(1076002)(316002)(6916009)(53546011)(68736007)(6666003)(42882006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2515; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2515; 23:7JbUsBprdiIgoWD1MLSuAUvk30Fk64i0TgaaqLMfp?= =?us-ascii?Q?lJjj6DATkF4UA5eX+K2FSkaBylN1y7w4hcxwkFyvudb4L22BJOkSc5sGzOER?= =?us-ascii?Q?TQpP5RaKzPxQw7a1FmqbEZqcFjG7P7uVpFz9VV1DYdPd80z7JJ6ZT8adYqbv?= =?us-ascii?Q?UmX13FTiQMelV81udsYjGcoJRPd4cerfSZSlRNoA8zEgN31xRn71e2c02S9s?= =?us-ascii?Q?tVUxZ0sNJbCew1MaFqyt48YLmOQpCLImZlLQDToPMQ+obmt6+VNCf4uUxWqs?= =?us-ascii?Q?FvgVLG9e3vYns3+M7w1+5S0VJko9jKzAxXwuPAGXc3F2YEuC/wfbT5/zOLB9?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osticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2018 04:40:08.7815 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ac50641f-d844-4a2c-e980-08d5571b10d2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2515 Subject: Re: [dpdk-dev] [PATCH] mbuf:using sanity checks do not panic on null mbuf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 04:40:14 -0000 -----Original Message----- > Date: Mon, 8 Jan 2018 09:34:23 -0600 > From: Keith Wiles > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] mbuf:using sanity checks do not panic on null > mbuf > X-Mailer: git-send-email 2.10.1 > > The rte_pktmbuf_free() allows for NULL mbuf pointer, but > when sanity check is enabled it will panic with null pointer. > > Signed-off-by: Keith Wiles mbuf autotest is failing with this change. # echo "mbuf_autotest" | sudo ./build/app/test Checking rte_mbuf_sanity_check for failure conditions Checking good mbuf initially Now checking for error conditions Error with NULL mbuf test test_failing_mbuf_sanity_check() failed Test Failed