diff --git a/include/net/vxlan.h b/include/net/vxlan.h index 6b3234599a2c52463d91d985a283db7f5b1d417a..480a319b4c925f3c98dd3f3dff99817adeb10355 100644 --- a/include/net/vxlan.h +++ b/include/net/vxlan.h @@ -241,9 +241,10 @@ static inline void vxlan_get_rx_port(struct net_device *netdev) { } #endif -#endif static inline unsigned short vxlan_get_sk_family(struct vxlan_sock *vs) { return vs->sock->sk->sk_family; } + +#endif