git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Check for Centos 6.4 backports.
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
if_vlan.h
diff --git
a/datapath/linux/compat/include/linux/if_vlan.h
b/datapath/linux/compat/include/linux/if_vlan.h
index
dc4b15e
..
b8b1961
100644
(file)
--- a/
datapath/linux/compat/include/linux/if_vlan.h
+++ b/
datapath/linux/compat/include/linux/if_vlan.h
@@
-55,7
+55,7
@@
static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb, u16 vlan_tci)
#define VLAN_TAG_PRESENT VLAN_CFI_MASK
#endif
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
+#if
ndef HAVE_VLAN_SET_ENCAP_PROTO
static inline void vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr)
{
__be16 proto;