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 73A69A054F; Mon, 15 Mar 2021 20:22:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09D9924278B; Mon, 15 Mar 2021 20:22:30 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id BC0E44069F for ; Mon, 15 Mar 2021 20:22:28 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 930C3A055D; Mon, 15 Mar 2021 20:22:28 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 15 Mar 2021 19:22:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 18.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: stephen@networkplumber.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 662] Pthread_mutex usage is not safe between primar/secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D662 Bug ID: 662 Summary: Pthread_mutex usage is not safe between primar/secondary process Product: DPDK Version: 18.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: stephen@networkplumber.org Target Milestone: --- Posix mutex's are by default private to the process creating them. Several places in DPDK use pthread_mutex to protect resources in a manner that is n= ot safe when used with primary/secondary processes. This problem was reported against failsafe driver, but it seems to be a wid= er problem (assumptions in DPDK). Initial report was on 18.11, but these bugs = go back to original code in many cases. Mutexes that are protecting data structures from multi-process model must c= all pthread_setpshared(). --=20 You are receiving this mail because: You are the assignee for the bug.=