Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: sockets: choose SOCKETPAIR_HEAP when MEM_POOL enabled
Don't check 'HEAP_MEM_POOL_SIZE != 0', as HEAP_MEM_POOL_SIZE might be 0, but HEAP_MEM_POOL_ADD_SIZE_xxx is defined, which means the actual heap size is not zero. So check KERNEL_MEM_POOL instead. Signed-off-by: Maochen Wang <[email protected]>
- Loading branch information