diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-10-21 10:02:18 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-21 11:01:46 +0000 |
commit | 568617bfe6d45c0ebe0f4eb45fdaca6a3a90134e (patch) | |
tree | 49c0f3424604f5818aa7e35063853fc33f70b45f /src/vppinfra/linux/mem.c | |
parent | 07b94558087facbb16c0fa82a79fcbbd9b44c485 (diff) |
vppinfra: fix ASAN annotation
Type: fix
Change-Id: I90b537eba7f56dbb1928f0ab5f157218affb43f5
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vppinfra/linux/mem.c')
-rw-r--r-- | src/vppinfra/linux/mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/linux/mem.c b/src/vppinfra/linux/mem.c index b46988f2172..1ef90da16f2 100644 --- a/src/vppinfra/linux/mem.c +++ b/src/vppinfra/linux/mem.c @@ -472,6 +472,7 @@ clib_mem_vm_map_internal (void *base, clib_mem_page_sz_t log2_page_sz, else mm->first_map = hdr; + CLIB_MEM_UNPOISON (hdr, sys_page_sz); hdr->next = 0; hdr->prev = mm->last_map; mm->last_map = hdr; |