diff --git a/kernel/syscall.c b/kernel/syscall.c index 99f8df93..b33c3d73 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -8978,6 +8978,8 @@ SYSCALL_DECLARE(mbind) return -EINVAL; } + return 0; + memset(numa_mask, 0, sizeof(numa_mask)); if (maxnode) {