diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index 24ece06bad9eff61612d89f618d389ae0e2f03b8..97a739c21f1f80f60da434428aadcc6ed4985c66 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h @@ -47,7 +47,7 @@ int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, static inline int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, struct socket **sockp) { - return 0; + return -EPFNOSUPPORT; } #endif