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: Fix build with backported dev_get_stats().
[sliver-openvswitch.git]
/
acinclude.m4
diff --git
a/acinclude.m4
b/acinclude.m4
index
8643cf7
..
6a37443
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-150,6
+150,8
@@
AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro],
[OVS_DEFINE([HAVE_DEV_DISABLE_LRO])])
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro],
[OVS_DEFINE([HAVE_DEV_DISABLE_LRO])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_get_stats],
+ [OVS_DEFINE([HAVE_DEV_GET_STATS])])
# Check for the proto_data_valid member in struct sk_buff. The [^@]
# is necessary because some versions of this header remove the
# Check for the proto_data_valid member in struct sk_buff. The [^@]
# is necessary because some versions of this header remove the