vppinfra: fix SIGSEGV in clib_mem_vm_unmap 78/33078/3
authorchenqijun <chenqijun@corp.netease.com>
Mon, 12 Jul 2021 02:51:05 +0000 (10:51 +0800)
committerDamjan Marion <dmarion@me.com>
Tue, 13 Jul 2021 16:50:59 +0000 (16:50 +0000)
commitf299dc487d36eed0dfbf6d07eb40d8bc58cd724d
treeeec5e485ee367bfcff56f26ea3d5e445f9c24d06
parent041372b79b843b54dfad048dda237e64d1a5f127
vppinfra: fix SIGSEGV in clib_mem_vm_unmap

while one mprotect PROT_NONE on hdr->next or hdr->prev,
the other one with the PROT_NONE is unmap at the same time,
cause SIGSEGV.

Type: fix

Signed-off-by: arikachen <eaglesora@gmail.com>
Change-Id: I21c0497da140c9654b566e47f767a90346715ed8
src/vppinfra/linux/mem.c