From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3670A0C41 for ; Fri, 27 Aug 2021 12:33:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 973974067C; Fri, 27 Aug 2021 12:33:21 +0200 (CEST) Received: from CNSHJSMIN03.NOKIA-SBELL.COM (cnshjsmin03.app.nokia-sbell.com [116.246.26.71]) by mails.dpdk.org (Postfix) with ESMTP id C5C434067C for ; Fri, 27 Aug 2021 12:33:19 +0200 (CEST) X-AuditID: ac189297-dedff700000025fe-4b-6128bf6d3144 Received: from CNSHPPEXCH1609.nsn-intra.net (Unknown_Domain [135.251.51.109]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by CNSHJSMIN03.NOKIA-SBELL.COM (Symantec Messaging Gateway) with SMTP id E0.87.09726.D6FB8216; Fri, 27 Aug 2021 18:33:17 +0800 (HKT) Received: from CNSHPPEXCH1601.nsn-intra.net (135.251.51.101) by CNSHPPEXCH1609.nsn-intra.net (135.251.51.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 27 Aug 2021 18:33:17 +0800 Received: from CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) by CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) with mapi id 15.01.2176.012; Fri, 27 Aug 2021 18:33:17 +0800 From: "Yang, Ming 1. (NSB - CN/Hangzhou)" To: "stable@dpdk.org" CC: "Yang, Ming 1. (NSB - CN/Hangzhou)" , "Zizka, Jan (Nokia - CZ/Prague)" , "Xu, Meng-Maggie (NSB - CN/Hangzhou)" Thread-Topic: [PATCH 20.11] Coverity issue: When IAVF driver used, some operation such as setting mtu will cause coredump if there is secondary process. Bugzilla ID: NA Fixes: Because secondary process wrongly modify shared data of rte_eth_dev. After iavf_dev_stop exec Thread-Index: AdebLcW1ycOGwM4lSBmzJfn+87C8/g== Date: Fri, 27 Aug 2021 10:33:17 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [135.251.51.115] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRmVeSWpSXmKPExsXS/ts4Vzd3v0aiwZZGPYt/HX/YHRg9fi1Y yhrAGMVlk5Kak1mWWqRvl8CVMfn/CaaC67YV++5dY2tgPGvRxcjJISFgIvGmcT1zFyMXh5DA ISaJiWf/s0I4fxklzm5ZywjhbGKUWHBpHjtIC5uAu8TShhYWEFtEQF3i9IJ+ZhCbWeAko8Tq hRUgDcICfUwSRx62MIE4IgKTmSS2bz8B1aEn0XRnAxuIzSKgKvH8xDmwbl4BO4ktT9YwgtiM AmIS30+tYYKYKi5x68l8JohjRSQeXjzNBmGLSrx8/A/oVg4gW0mibwNUebzEv13L2CFGCkqc nPmEZQKj8Cwkk2YhKZuFpAwinirxbvkfNghbR2LB7k9QtrbEsoWvmWHsMwceM6GKcwDZ+RJn u9MhwsESN2buZZ0F9D2zwF1Gic2Nk6DmKEpM6X7IvoCRZxWjtLNfsIdXsK+nn4Gxnp+/t6ej brCTq4+PnrO/7yZGYNSukZg0fQfjubnf9A4xMnEwHmJUARrwaMPqC4xSLHn5ealKIrwLvqsl CvGmJFZWpRblxxeV5qQWH2KU5mBREuc9VCCcKCSQnliSmp2aWpBaBJNl4uCUamBi3flbiWuO 9hO+Uw9cqr8LRFYZZxjwPDjU6Xh/EcOxW2FherOPF8ZEOwnfYFzWfEBOjPPwpukBrf/L4r+a 8X77y6seMP3eOmVftbTn8dxXU65Er78as/5f+yxJ0SgXibQb7ZqX19sFLRNZV2ecUHHrtdOp i/+FNY4qyHT+mHB92zTZkNbinyoZ+6ttdwvtTbh5y+xbnu83m7rlRU3ce/9qdm7XOLY0+NaT giXn1i4tlVwRvpU1tu37jSuSOvdfLHZwPZls/bj7i0vbPEd1rfe+4VeSaxq2vOB3qdf0r4hO v5G47krxx1Megct89Y6u/VG34Ob8lMiz3mvF7tVebvf16nlxoGxlcmaE4Gw20RAlluKMREMt 5qLiRADodIRWVQMAAA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-stable] [PATCH 20.11] Coverity issue: When IAVF driver used, some operation such as setting mtu will cause coredump if there is secondary process. Bugzilla ID: NA Fixes: Because secondary process wrongly modify shared data of rte_eth_dev. After iavf_dev_stop exec X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi DPDK maintainer, We want to upstream our dpdk patch for fixing bug. But it seems that "git s= end-email" still can't be work. Can you review and apply this patch to bran= ch 20.11 of git repository dpdk_stable. ---------------------------------------------------------------------------= --------------------------------------------------- Coverity issue: When IAVF driver used, some operation such as setting mtu w= ill cause coredump if there is secondary process. Bugzilla ID: NA Fixes: Because secondary process wrongly modify shared data of rte_eth_dev.= After iavf_dev_stop execute in primary process, rxq->ops->release_mbufs ma= y be NULL point. Fix prevent secondary process to modify these shared data. Cc: stable@dpdk.org Brs, Yang Ming