aboutsummaryrefslogtreecommitdiffstats
path: root/test/test/test_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test/test_malloc.c')
-rw-r--r--test/test/test_malloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test/test_malloc.c b/test/test/test_malloc.c
index 4b5abb4e..5e527241 100644
--- a/test/test/test_malloc.c
+++ b/test/test/test_malloc.c
@@ -711,6 +711,9 @@ check_socket_mem(const struct rte_memseg_list *msl, void *arg)
{
int32_t *socket = arg;
+ if (msl->external)
+ return 0;
+
return *socket == msl->socket_id;
}