vrouter kernel module compilation is failing on kernels < 3.3

Bug #1297319 reported by Numan Siddique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Fix Committed
Undecided
Anand H. Krishnan

Bug Description

vrouter kernel module compilation is failing with the below errors for kernels < 3.3

 CC [M] /opt/stack/contrail/vrouter/linux/vr_host_interface.o
2014-03-19 14:34:53 /opt/stack/contrail/vrouter/linux/vr_host_interface.c: In function 'linux_inet_fragment':
2014-03-19 14:34:53 /opt/stack/contrail/vrouter/linux/vr_host_interface.c:182:5: error: unknown type name 'netdev_features_t'
2014-03-19 14:34:53 /opt/stack/contrail/vrouter/linux/vr_host_interface.c: In function 'linux_gso_xmit':
2014-03-19 14:34:53 /opt/stack/contrail/vrouter/linux/vr_host_interface.c:370:5: error: unknown type name 'netdev_features_t'

Adding the below lines in the vr_host_interface.c seems to solve the problem.

#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0))
#include <linux/types.h>
typedef u64 netdev_features_t;
#endif

Because of this error, it is not possible to deploy opencontrail on Ubuntu 12.04 LTS

Tags: vrouter
Changed in opencontrail:
assignee: nobody → Anand H. Krishnan (anandhk)
Revision history for this message
Raja Sivaramakrishnan (raja-u) wrote :

Fixed by commit eac7f7686702993a76f321f81c3415f795df5b7c

Changed in opencontrail:
status: New → Fix Committed
tags: added: vou
tags: added: vrouter
removed: vou
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.