aboutsummaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-09-21 11:41:28 -0700
committerPravin B Shelar <pshelar@nicira.com>2014-09-21 11:52:10 -0700
commit13a30965fad9df08125bbbce0b2958309f64146e (patch)
treeabd8e511c84b6a4c8c911c2f670cf07e23708862 /datapath
parente74d48171e590b50cdcb2798a3e7c5c32313887b (diff)
datapath: compat: Fix compilation for 2.6.32 kernel
Define alloc_netdev() using alloc_netdev_mq() which is available on all kernel supported by OVS. Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/linux/compat/include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/linux/compat/include/linux/netdevice.h b/datapath/linux/compat/include/linux/netdevice.h
index 679c8616f..43a04a432 100644
--- a/datapath/linux/compat/include/linux/netdevice.h
+++ b/datapath/linux/compat/include/linux/netdevice.h
@@ -30,7 +30,7 @@ struct net;
#undef alloc_netdev
#define NET_NAME_UNKNOWN 0
#define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \
- alloc_netdev_mqs(sizeof_priv, name, setup, 1, 1)
+ alloc_netdev_mq(sizeof_priv, name, setup, 1)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)