diff options
author | Florin Coras <fcoras@cisco.com> | 2021-11-30 20:21:57 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-12-22 20:53:32 +0000 |
commit | c824977ed38738985864c4524510f37a41453f7d (patch) | |
tree | e3ffc4e6bd0c3fccc1e3c1106a8ee1b9127bd511 /.clang-tidy | |
parent | d51250f5e2bc99784399b196733e813fef000d71 (diff) |
session: fix segment alloc/free worker race
Avoid scenarios where a worker allocates a segment but while it drops
the segment manager writer lock and acquires the reader lock another
worker uses the segment and frees it.
Type: fix
Thanks to wanghanlin@corp.netease.com for the report.
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0a88d738c51b33fd07c34916f125c98806861a06
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions