mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
MPPC node is not thread safe.
PR: kern/79990 Reported by: Arcadiy Ivanov Reported by: atckoe.zlo @ gmail.com MFC after: 1 week
This commit is contained in:
parent
8a5cdc73da
commit
2f07580bf6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146919
|
@ -196,6 +196,9 @@ ng_mppc_constructor(node_p node)
|
|||
|
||||
NG_NODE_SET_PRIVATE(node, priv);
|
||||
|
||||
/* This node is not thread safe. */
|
||||
NG_NODE_FORCE_WRITER(node);
|
||||
|
||||
/* Done */
|
||||
return (0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue