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

From: David Howells
Date: Tue Feb 09 2021 - 08:40:33 EST


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 <lkp@xxxxxxxxx>
Suggested-by: Vadim Fedorenko <vfedorenko@xxxxxxxx>
Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: Xin Long <lucien.xin@xxxxxxxxx>
cc: alaa@xxxxxxxxxxxxxxxxxx
cc: Jakub Kicinski <kuba@xxxxxxxxxx>
---

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