summaryrefslogtreecommitdiffstats
path: root/svm/svm.h
diff options
context:
space:
mode:
Diffstat (limited to 'svm/svm.h')
-rw-r--r--svm/svm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/svm/svm.h b/svm/svm.h
index 5b95abb66ba..0b87dbcbc64 100644
--- a/svm/svm.h
+++ b/svm/svm.h
@@ -149,7 +149,8 @@ svm_mem_alloc_aligned_at_offset (svm_region_t * rp,
pthread_mutex_lock (&rp->mutex);
oldheap = clib_mem_set_heap (rp->data_heap);
- rv = clib_mem_alloc_aligned_at_offset (size, align, offset);
+ rv = clib_mem_alloc_aligned_at_offset (size, align, offset,
+ 1 /* yes, call os_out_of_memory */ );
clib_mem_set_heap (oldheap);
pthread_mutex_unlock (&rp->mutex);
return (rv);