diff options
| -rw-r--r-- | common/uapi/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/uapi/ipc.c b/common/uapi/ipc.c index b9a435b..dc292ef 100644 --- a/common/uapi/ipc.c +++ b/common/uapi/ipc.c @@ -170,7 +170,7 @@ static bool enough_rpc_stack(struct tcb *t) /* if we can still fit an rpc stack into the call stack, we can safely * do the migration. */ - return (top - BASE_PAGE_SIZE) >= (t->rpc_stack - __rpc_stack_size); + return top - BASE_PAGE_SIZE - __rpc_stack_size >= RPC_STACK_BASE; } /** |
