net: socketpair: give allocation strategy option a name

Give the socketpair allocation strategy a name so that users can change
the default.

Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2025-04-12 14:12:44 +10:00 committed by Benjamin Cabé
commit 94583777fd

View file

@ -344,7 +344,7 @@ config NET_SOCKETPAIR_BUFFER_SIZE
help
Buffer size for socketpair(2)
choice
choice NET_SOCKETPAIR_ALLOCATION_STRATEGY
prompt "Memory management for socketpair"
default NET_SOCKETPAIR_HEAP if KERNEL_MEM_POOL