diff options
author | liuyacan <liuyacan@corp.netease.com> | 2021-12-22 16:41:21 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-12-22 15:19:12 +0000 |
commit | 9b8dc824d8c5b88b25eae6aa431256746d26d95b (patch) | |
tree | 5ad973779c03614b49b08ddfd9eb691c5e66efcc /src/vppinfra/ptclosure.c | |
parent | 657936f665c18441bddcc2524bb3ad3dfe0e20bc (diff) |
vppinfra: fix map_lock issue
The release of the map_lock is a bit too early, it needs to wrap
mprotect(), otherwise the access rights of hdr may be deprived of
other worker threads.
Type: fix
Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Change-Id: I9cb89d49a097ec6d5ae9fd2af2bddf967ec946e9
Diffstat (limited to 'src/vppinfra/ptclosure.c')
0 files changed, 0 insertions, 0 deletions