diff mbox series

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

Message ID 161287788114.579714.4927352060016972328.stgit@warthog.procyon.org.uk (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series [RFC,net] rxrpc: Fix missing dependency on NET_UDP_TUNNEL | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net
netdev/subject_prefix success Link
netdev/cc_maintainers warning 1 maintainers not CCed: davem@davemloft.net
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes fail Link
netdev/checkpatch warning WARNING: Unknown commit id '1a9b86c9fd95', maybe rebased or not pulled?
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

David Howells Feb. 9, 2021, 1:38 p.m. UTC
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>
Suggested-by: Vadim Fedorenko <vfedorenko@novek.ru>
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(+)

Comments

Xin Long Feb. 9, 2021, 2:22 p.m. UTC | #1
On Tue, Feb 9, 2021 at 9:38 PM David Howells <dhowells@redhat.com> wrote:
>
> 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>
> Suggested-by: Vadim Fedorenko <vfedorenko@novek.ru>
> 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.
diff mbox series

Patch

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