rxrpc: Fix missing dependency on NET_UDP_TUNNEL
authorDavid Howells <dhowells@redhat.com>
Tue, 9 Feb 2021 15:02:05 +0000 (15:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Feb 2021 23:23:31 +0000 (15:23 -0800)
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@intel.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
cc: alaa@dev.mellanox.co.il
cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/Kconfig

index d706bb4..0885b22 100644 (file)
@@ -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