[RFC PATCH net] rxrpc: Fix missing dependency on NET_UDP_TUNNEL

Subsystems: networking [general], rxrpc sockets (af_rxrpc), the rest

STALE2013d

2 messages, 2 authors, 2021-02-09 · open the first message on its own page

[RFC PATCH net] rxrpc: Fix missing dependency on NET_UDP_TUNNEL

From: David Howells <dhowells@redhat.com>
Date: 2021-02-09 13:40:10

The changes to make rxrpc create the udp socket missed a bit to add the
Kconfig dependency on the udp tunnel code to do this.

Fix this by adding making AF_RXRPC select NET_UDP_TUNNEL.

Fixes: 1a9b86c9fd95 ("rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket")
Reported-by: kernel test robot <redacted>
Suggested-by: Vadim Fedorenko <redacted>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Xin Long <lucien.xin@gmail.com>
cc: alaa@dev.mellanox.co.il
cc: Jakub Kicinski <kuba@kernel.org>
---

 net/rxrpc/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff --git a/net/rxrpc/Kconfig b/net/rxrpc/Kconfig
index d706bb408365..0885b22e5c0e 100644
--- a/net/rxrpc/Kconfig
+++ b/net/rxrpc/Kconfig
@@ -8,6 +8,7 @@ config AF_RXRPC
 	depends on INET
 	select CRYPTO
 	select KEYS
+	select NET_UDP_TUNNEL
 	help
 	  Say Y or M here to include support for RxRPC session sockets (just
 	  the transport part, not the presentation part: (un)marshalling is

Re: [RFC PATCH net] rxrpc: Fix missing dependency on NET_UDP_TUNNEL

From: Xin Long <lucien.xin@gmail.com>
Date: 2021-02-09 14:24:09

On Tue, Feb 9, 2021 at 9:38 PM David Howells [off-list ref] wrote:
quoted hunk
The changes to make rxrpc create the udp socket missed a bit to add the
Kconfig dependency on the udp tunnel code to do this.

Fix this by adding making AF_RXRPC select NET_UDP_TUNNEL.

Fixes: 1a9b86c9fd95 ("rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket")
Reported-by: kernel test robot <redacted>
Suggested-by: Vadim Fedorenko <redacted>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Xin Long <lucien.xin@gmail.com>
cc: alaa@dev.mellanox.co.il
cc: Jakub Kicinski <kuba@kernel.org>
---

 net/rxrpc/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff --git a/net/rxrpc/Kconfig b/net/rxrpc/Kconfig
index d706bb408365..0885b22e5c0e 100644
--- a/net/rxrpc/Kconfig
+++ b/net/rxrpc/Kconfig
@@ -8,6 +8,7 @@ config AF_RXRPC
        depends on INET
        select CRYPTO
        select KEYS
+       select NET_UDP_TUNNEL
        help
          Say Y or M here to include support for RxRPC session sockets (just
          the transport part, not the presentation part: (un)marshalling is
Reviewed-by: Xin Long <lucien.xin@gmail.com>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help