Xin Long <[email protected]> wrote:
> - udp_encap_enable();
> -#if IS_ENABLED(CONFIG_AF_RXRPC_IPV6)
> - if (local->srx.transport.family == AF_INET6)
> - udpv6_encap_enable();
> -#endif
> + udp_tunnel_encap_enable(local->socket);
You need this too:
--- a/net/rxrpc/local_object.c
+++ b/net/rxrpc/local_object.c
@@ -16,6 +16,7 @@
#include <linux/hashtable.h>
#include <net/sock.h>
#include <net/udp.h>
+#include <net/udp_tunnel.h>
#include <net/af_rxrpc.h>
#include "ar-internal.h"
With that, it seems to work still:
Acked-and-tested-by: David Howells <[email protected]>
David