diff options
author | Florin Coras <fcoras@cisco.com> | 2020-12-07 18:35:12 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-12-08 15:29:38 +0000 |
commit | d2fb601022e25055211f6e6ccb960758b8490073 (patch) | |
tree | 35b6a99e0ef678a8df19de16612e5c201078cbe8 /src | |
parent | 8b55261e954d7c87d2b20740ea70de7773cae3ea (diff) |
svm: fix ssvm_va for private segments
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I8288a1ed97b375626d69ac7efa0256211834d89c
Diffstat (limited to 'src')
-rw-r--r-- | src/svm/ssvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c index cfdb796c35a..1a677fc5c62 100644 --- a/src/svm/ssvm.c +++ b/src/svm/ssvm.c @@ -404,7 +404,7 @@ ssvm_server_init_private (ssvm_private_t * ssvm) clib_memset (sh, 0, sizeof (*sh)); sh->heap = heap; sh->ssvm_size = rnd_size; - sh->ssvm_va = pointer_to_uword (heap); + sh->ssvm_va = pointer_to_uword (sh); sh->type = SSVM_SEGMENT_PRIVATE; oldheap = ssvm_push_heap (sh); |