net/usrsock: Can enable TCP/UDP IP stack with Usrsock enabled
Some use cases, such as VPN, use both the device's network stack with the Usrsock daemon and the Kernel's network stack. Therefore, remove NET_TCP_NO_STACK/NET_UDP_NO_STACK select from Usrsock's Kconfig.
This commit is contained in:
parent
a1f26ab24b
commit
011d45e956
@ -14,7 +14,7 @@ config NET_TCP
|
|||||||
|
|
||||||
config NET_TCP_NO_STACK
|
config NET_TCP_NO_STACK
|
||||||
bool "Disable TCP/IP Stack"
|
bool "Disable TCP/IP Stack"
|
||||||
default n
|
default NET_USRSOCK_TCP if NET_USRSOCK
|
||||||
select NET_TCP
|
select NET_TCP
|
||||||
---help---
|
---help---
|
||||||
Build without TCP/IP stack even if TCP networking support enabled.
|
Build without TCP/IP stack even if TCP networking support enabled.
|
||||||
|
@ -15,7 +15,7 @@ config NET_UDP
|
|||||||
|
|
||||||
config NET_UDP_NO_STACK
|
config NET_UDP_NO_STACK
|
||||||
bool "Disable UDP/IP Stack"
|
bool "Disable UDP/IP Stack"
|
||||||
default n
|
default NET_USRSOCK_UDP if NET_USRSOCK
|
||||||
select NET_UDP
|
select NET_UDP
|
||||||
---help---
|
---help---
|
||||||
Build without UDP/IP stack even if UDP networking support enabled.
|
Build without UDP/IP stack even if UDP networking support enabled.
|
||||||
|
@ -76,12 +76,10 @@ config NET_USRSOCK_NPOLLWAITERS
|
|||||||
config NET_USRSOCK_UDP
|
config NET_USRSOCK_UDP
|
||||||
bool "User-space daemon provides UDP sockets"
|
bool "User-space daemon provides UDP sockets"
|
||||||
default n
|
default n
|
||||||
select NET_UDP_NO_STACK
|
|
||||||
|
|
||||||
config NET_USRSOCK_TCP
|
config NET_USRSOCK_TCP
|
||||||
bool "User-space daemon provides TCP sockets"
|
bool "User-space daemon provides TCP sockets"
|
||||||
default n
|
default n
|
||||||
select NET_TCP_NO_STACK
|
|
||||||
|
|
||||||
config NET_USRSOCK_ICMP
|
config NET_USRSOCK_ICMP
|
||||||
bool "User-space daemon provides ICMP sockets"
|
bool "User-space daemon provides ICMP sockets"
|
||||||
|
Loading…
Reference in New Issue
Block a user