datapath: enable encap for capwap.
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / udp.h
index 6fe4721..6a805b5 100644 (file)
@@ -10,4 +10,9 @@ static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
 }
 #endif /* HAVE_SKBUFF_HEADER_HELPERS */
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)
+static inline void udp_encap_enable(void)
+{
+}
+#endif
 #endif