[dpdk-dev] [Bug 662] Pthread_mutex usage is not safe between primar/secondary process
bugzilla at dpdk.org
bugzilla at dpdk.org
Mon Mar 15 20:22:28 CET 2021
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 at dpdk.org
Reporter: stephen at 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.
More information about the dev
mailing list