DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 662] Pthread_mutex usage is not safe between primar/secondary process
@ 2021-03-15 19:22 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-03-15 19:22 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=662

            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 not
safe when used with primary/secondary processes.

This problem was reported against failsafe driver, but it seems to be a wider
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 call
pthread_setpshared().

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-15 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 19:22 [dpdk-dev] [Bug 662] Pthread_mutex usage is not safe between primar/secondary process bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).