projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: enable encap for capwap.
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
linux
/
udp.h
diff --git
a/datapath/linux/compat/include/linux/udp.h
b/datapath/linux/compat/include/linux/udp.h
index 6fe4721bfd6778953b4d0db294064a3782a83180..6a805b58ea6fa0e2d0ed4d0e1cf310cf649e5b60 100644
(file)
--- a/
datapath/linux/compat/include/linux/udp.h
+++ b/
datapath/linux/compat/include/linux/udp.h
@@
-10,4
+10,9
@@
static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
}
#endif /* HAVE_SKBUFF_HEADER_HELPERS */
}
#endif /* HAVE_SKBUFF_HEADER_HELPERS */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)
+static inline void udp_encap_enable(void)
+{
+}
+#endif
#endif
#endif