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: Add support for kernel 3.14.
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
etherdevice.h
diff --git
a/datapath/linux/compat/include/linux/etherdevice.h
b/datapath/linux/compat/include/linux/etherdevice.h
index
556729d
..
c6e8e92
100644
(file)
--- a/
datapath/linux/compat/include/linux/etherdevice.h
+++ b/
datapath/linux/compat/include/linux/etherdevice.h
@@
-34,6
+34,7
@@
static inline int eth_mac_addr(struct net_device *dev, void *p)
}
#endif
+#ifndef HAVE_ETHER_ADDR_COPY
static inline void ether_addr_copy(u8 *dst, const u8 *src)
{
#if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)
@@
-48,5
+49,6
@@
static inline void ether_addr_copy(u8 *dst, const u8 *src)
a[2] = b[2];
#endif
}
+#endif
#endif