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
/
dev-openvswitch.c
diff --git
a/datapath/linux/compat/dev-openvswitch.c
b/datapath/linux/compat/dev-openvswitch.c
index
256d581
..
38ec8fe
100644
(file)
--- a/
datapath/linux/compat/dev-openvswitch.c
+++ b/
datapath/linux/compat/dev-openvswitch.c
@@
-33,7
+33,7
@@
void dev_disable_lro(struct net_device *dev) { }
#endif /* HAVE_DEV_DISABLE_LRO */
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
|| \
+#if
!defined HAVE_NETDEV_RX_HANDLER_REGISTER
|| \
defined HAVE_RHEL_OVS_HOOK
static int nr_bridges;