projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: check for rx handler register
[cascardo/ovs.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
netdevice.h
diff --git
a/datapath/linux/compat/include/linux/netdevice.h
b/datapath/linux/compat/include/linux/netdevice.h
index
3deb93d
..
0fb2144
100644
(file)
--- a/
datapath/linux/compat/include/linux/netdevice.h
+++ b/
datapath/linux/compat/include/linux/netdevice.h
@@
-43,7
+43,7
@@
extern void unregister_netdevice_many(struct list_head *head);
extern void dev_disable_lro(struct net_device *dev);
#endif
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
|| \
+#if
!defined HAVE_NETDEV_RX_HANDLER_REGISTER
|| \
defined HAVE_RHEL_OVS_HOOK
#ifdef HAVE_RHEL_OVS_HOOK