From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0062.outbound.protection.outlook.com [104.47.32.62]) by dpdk.org (Postfix) with ESMTP id D00993253 for ; Wed, 19 Jul 2017 05:47:08 +0200 (CEST) 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=Jzrja4JfPqyrrAF01cdemJT+ehZGFLHD9WLhf/cuNN0=; b=kSeeyXm8YcoP8gr4UIjJLlxRC+gjhXZgz2TrON7o6vaO/wsD7kpN2Oxst3G+/o0e6KSjX1wkP52BbcR3Eem8cP0MIgkQojza0LTxkVHm/Gpppgd5/PicFlQp/kIgNDyNfwexYkH5PLuZqp2h6O7sCdTzXaxTENRN3joobcxjsQY= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (122.167.70.171) by BL2PR07MB2433.namprd07.prod.outlook.com (2a01:111:e400:c754::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 19 Jul 2017 03:47:06 +0000 Date: Wed, 19 Jul 2017 09:16:48 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20170719034647.GB10840@jerin> References: <1500307787-73213-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500307787-73213-1-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [122.167.70.171] X-ClientProxiedBy: MA1PR01CA0075.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00::15) To BL2PR07MB2433.namprd07.prod.outlook.com (2a01:111:e400:c754::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17da5bca-c6ff-4200-a952-08d4ce58d3f7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BL2PR07MB2433; X-Microsoft-Exchange-Diagnostics: 1; BL2PR07MB2433; 3:g1SZmPCx56AZ3IE3/CxMJz/XwJqizQEonQGke36GzU12XE/wRYUHR5A/uWcJj7sWXGxUYLaTDv/uDa/aGKQ8pv1SeDcR6VIVipGVN8tWvdXRBHPT/U88bB8PM6uYA8MG+7SQp4uBaXGPrWGrK6ZAf9ReqzZpzJP12n05mEXQH8UyRMQAgpxPr544qZxUGs8D/nwrcNZTDjIbyA5Df510/LBveSRx6wgYFjICPgSsnkKEIPLfasrMyxGOLtKSEwm/N99/CQDqqMhAYoi5/V6NTucnG/3i6ITXCMuHOsfcoPbkHO2n485X4FN1dGCWhjxlgalmNxI6ZF0TNWxPv3xQHlvY0Kd4Z/W5JH3dTJXrHaxQ9mrj3AIJ2u8sq9KRBOE6gRv8s3OLlcKJD6FQizxoIu4yrwC2H9uA4547r0QPJ9XY4F65H7uZcI9Yed7UWJBzy6PVj0oUaF6QFEFpor3EeO58uRBWYVnmVdCuU3sSu2atuikD3vRRcQFmxYC4Kqgj7kJWN2b3ZRzhsNEWM3wm4gc55rXE4Rt59wh7VK5RQ5S6ZRRWnw1tKbi64rNx+Ig80x7sA8fQ4tcVNEoaG3llQDsChOIj5X3r3ytR+YYlNUAZoAOPJe6vuCm3g1O/+UIBcmGlSQYbMHCTM0cDFb7QnFnAbur016aOzyPN4ZARv8gjMDJV2VSeVFJaTk/0/sSi8HAt/diKPn0pmwrQNyTSVv7NuZjKV9Pf5/Y/0GNBG8M= X-MS-TrafficTypeDiagnostic: BL2PR07MB2433: X-Microsoft-Exchange-Diagnostics: 1; B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BbW5mTResZCp/gNnqwls0CEoJbF2d+9vZ4ygiWfoUo75o8yFFdTix/5LQyhTWjKGyrjvOyGi7jHsw5BwxWCKIqvn0xi3ApsED7V6ONL3U2OtUlcVxSC0lC6btgxALvVXMlQwloOW3hw7TEIMr/ni4hP8dN6SDu65xl/ydcf6yYfDyeOucg4q6SZiIfR65S2NOYN6bj/bqx2nW0kIJVFxDSAxSf3kwY= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(10201501046)(100000703101)(100105400095)(93006095)(3002001)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BL2PR07MB2433; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BL2PR07MB2433; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR07MB2433; 4:+xZTFuU1mYImNzR4jY2JmC5fOE5YERSDAoY7x/qXdh?= =?us-ascii?Q?QVcwxhMEgSzS65KU7Wo/ZQLhh3GyaBWlwpxgqz2FhDDAFPJnGJLYRJM/1ptx?= =?us-ascii?Q?ZIBbOWbzHAPkqA0d1bPyoyxWKJ7K+ne6VcrJrrlP0NSk/9wI1VF6JH30pL89?= =?us-ascii?Q?+bjSDRMBHP7BZDrjHqB16wkOn2rOx+XJtLZdwtl7qep5m3JDJxj9rlUHOzVU?= =?us-ascii?Q?XSIf6y+JqXyf9Hvya/fja7tUjanuDoPDY4IfKg3h2d+xPMNTVJiF5Qw8rqP5?= =?us-ascii?Q?oxRLpXw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OSGWhT49y7tvzOeTC3uIkHqz+7N8n35sy?= =?us-ascii?Q?bYBbkc1aqy92nd5Zk7rCSUXK7IdkyZjEwRsuOzaoOl8Hrhy8L9KgEDeZS5LJ?= =?us-ascii?Q?4cIxBGKT5FZsMRgNWu2QgKaWLJ/k63LndTZEUU?= X-Forefront-PRVS: 0373D94D15 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39410400002)(39840400002)(39400400002)(39450400003)(39850400002)(13464003)(110136004)(54356999)(76176999)(33656002)(66066001)(50986999)(5660300001)(478600001)(55016002)(9686003)(189998001)(4001350100001)(6496005)(6246003)(50466002)(42882006)(2950100002)(53936002)(6666003)(6916009)(38730400002)(229853002)(81166006)(6116002)(47776003)(2906002)(8676002)(42186005)(7736002)(7350300001)(305945005)(3846002)(25786009)(83506001)(1076002)(33716001)(23726003)(4326008)(72206003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR07MB2433; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR07MB2433; 23:NPpJ8KDt3PpaRGGRv5OGZN/Rto8ZVZUTaXaZMMaeI?= =?us-ascii?Q?VKNSHVcSPoAWHB/XB6cOzCKSTzdZYrWLX7PwzM2nwaJ7yPGJCkhztcBtS8z5?= =?us-ascii?Q?KvOIjp6s06TCW8zGkXem+jAOEOBMNSvtvUt6OunNdS0xeIVOcZ1L45G6GzD6?= =?us-ascii?Q?w778k+qV0dp9RauGnXDIbbOn4FptFBnxjcooAFBFFUfE5IpNrEWMfKPOvAIJ?= =?us-ascii?Q?G27bSQVmvPg2IhVTdRwGPcdNYePgTI8jF+3ei83IfU8g7XjCr2X1TjatLPjp?= =?us-ascii?Q?s4x6KnhTU2zFqNKyzPImUSuL4ssMKEzBjl5cJ9KyIiPEA/Z7ZOAVuuul87WK?= =?us-ascii?Q?OZ0lvEZbiHe1i7FvePVktf85hzwXxgK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nv6y2OjraQXWXTepdwNBlHjeaO59WIAVmZCTe69X5Dzdbrwg?= =?us-ascii?Q?m4MqZSJVnzLhsNb5fNlfCYKf4A7mLofo8UyUfg3pExOkSML4EisOtzdj1Slu?= =?us-ascii?Q?BBqo21vMdSfrnG60l4nrI8zCvB5gUY/gCkhtK65W0ro0RlAV3EED+jM0MKlT?= =?us-ascii?Q?o=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR07MB2433; 5:c/4qNXwrkFubdNdzhQxYU0oEjC5K04RCFlZL5KBC9/+PIyTbOOwyuewOgSiJImjwV8Uop9G44AZGHE7f8N9dhikF+69CDrcVpjDZ2mY+frxddMEgvV6imQuNdHkReTq38tx2iqPb8NfWLaWRIYMcf/bHhZVxBUzujVcPrEeCVeA8Jem7jyANov3wvlfSW6/rUf1z6Oa/i5myTiAMWkS95/48zXVvxc8BG7gw/82kVmAKlDWWRZKVm8iUL3VUyQDDR1D7Dc0N314POndVumVhVVefOztlratcQPM/pRMHzGZbhg3PshC3uEuPNP1g6DuRhcXG8+OJip3A3/N4ogSValq6VZPPUZ/ArvjqPG0wI2/3L+F65kzSxIKaP9IENmt9UFYYjA81bhpSUQR48rlJyVTxkcFo8q3TcwyDI8UFIfhsHHw/hM4zAApz1hAjrHQ7mnggo4bEfuiJvLKaLE8x99xUJF7yJiUc/ScNqmQWd2bocwMshdN69rjRLMVWmyco; 24:t1GWUh2jgOQvECh12/o7SsbC9iBcgtcMBik+YK2HD/03KOAUG8MOgLKJi5Ja+HWLSwXnn/tOKo+PVm9j58ZZjQG/dh6a0prp91mBYu1lGQk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR07MB2433; 7:KhG5J5309Clxk7u1fnBy3BMrye5peUVA+Db+kbNGmuF9UDVlxkCijM83htV1Z181FSrLSCuEWAapXbCRaU5x7bHmGnXLer+vdT6W3FP5Soyyeey/q9oHqkxvKqiIlTQ5kRhURKO8na9BIf0WzVhghbsL8WQUQuX18nXRJgfgtWBc01qIVhJ8oYVTQM03WR0c98hLL/VjktPNf14Ks0/cHc8kTH1tVEU2XUSQ/SKkADaiSrT1DtQTu761B6W3X+Tu9POMiCjJtYlFKbrx7G/HAki/Ha/icr42Ltp5m/zyUcrDaFkd0mKEAV1cuWjdUgdHOmmkgXXNHIJk3MlhU7E/8F7eIWnwbklMadoktZfC1E39GMgAMqJpEU/kENv/3s/BZeoVDLhoapiWgYICU/6bTWGSWoGbzG1Lg9A2XerSnD8AorhYguyBNuldzQ9VOCw9gYEMHUVWHOHdJfCFqauTyREhKIH43J/GwtCUiorB3lwHs3OnaVu7oqnhL9CeE1PO6g/yCM4ZMmaI1QQ2nbSQDsleeNVKggbZmeG87rXxihL5nteg15de1ZgFETonoCA2RtGiSLGIPMt3uxR9kqbCnzSxhXyRjkAV3xeZHqDWpxHxTDNArqrCliBu3vqb4ADKDDIx56EeRGCy9KEnaFUIRVemUMkFsm8fWhZzWtP/c++MYRicmVBhj4S+EvJ0+OkcnHQL4NladUhY+mLltxOCgy2DpLGUk/mVrTCf6EXaP3L0g3SwQkLk1hzTvUCdNREjfiegLtbg8p0CeUdWxCtZyS1pLn9CBbN26d9Bl1PmKbE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2017 03:47:06.2561 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR07MB2433 Subject: Re: [dpdk-dev] [PATCH] event: fix memory realloc check in port config 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: Wed, 19 Jul 2017 03:47:09 -0000 -----Original Message----- > Date: Mon, 17 Jul 2017 17:09:47 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: Harry van Haaren , > jerin.jacob@caviumnetworks.com > Subject: [PATCH] event: fix memory realloc check in port config > X-Mailer: git-send-email 2.7.4 > > This commit fixes the check to use the just reallocated > links_map variable, instead of stale dev->data->links_map. > Later the new variable is written to the dev->data->links_map, > so the stale-ness is only temporary. > > Coverity issue: 143456 > Fixes: 4f0804bbdfb9 ("eventdev: implement the northbound APIs") > Cc: jerin.jacob@caviumnetworks.com Reviewed-by: Jerin Jacob > > Signed-off-by: Harry van Haaren > --- > lib/librte_eventdev/rte_eventdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c > index ca2900c..bbb3805 100644 > --- a/lib/librte_eventdev/rte_eventdev.c > +++ b/lib/librte_eventdev/rte_eventdev.c > @@ -298,7 +298,7 @@ rte_event_dev_port_config(struct rte_eventdev *dev, uint8_t nb_ports) > sizeof(dev->data->links_map[0]) * nb_ports * > RTE_EVENT_MAX_QUEUES_PER_DEV, > RTE_CACHE_LINE_SIZE); > - if (dev->data->links_map == NULL) { > + if (links_map == NULL) { > dev->data->nb_ports = 0; > RTE_EDEV_LOG_ERR("failed to realloc mem for port_map," > "nb_ports %u", nb_ports); > -- > 2.7.4 >