vrouter compilation failure for ubuntu 3.13.0-32

Bug #1359940 reported by Anand H. Krishnan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
Undecided
Anand H. Krishnan
Trunk
Fix Committed
Undecided
Anand H. Krishnan

Bug Description

Vrouter compilation fails with

  CC [M] /home/anandhk/Sources/gh1/vrouter/linux/vhost_dev.o
  CC [M] /home/anandhk/Sources/gh1/vrouter/linux/vr_host_interface.o
/home/anandhk/Sources/gh1/vrouter/linux/vr_host_interface.c: In function ‘linux_get_rxq’:
/home/anandhk/Sources/gh1/vrouter/linux/vr_host_interface.c:525:9: error: implicit declaration of function ‘skb_get_rxhash’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/home/anandhk/Sources/gh1/vrouter/linux/vr_host_interface.o] Error 1
make[1]: *** [_module_/home/anandhk/Sources/gh1/vrouter] Error 2
make[1]: Leaving directory `/home/anandhk/Sources/Packages/usr/src/linux-headers-3.13.0-32-generic'
make: *** [default] Error 2
os.chdir('/home/anandhk/Sources/gh1')
scons: *** [vrouter/vrouter.ko] Error 2
scons: building terminated because of error

Changed in opencontrail:
assignee: nobody → Anand H. Krishnan (anandhk)
Raj Reddy (rajreddy)
affects: opencontrail → juniperopenstack
tags: added: blocker vrouter
Revision history for this message
Anand H. Krishnan (anandhk) wrote :
Revision history for this message
Anand H. Krishnan (anandhk) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3081
Committed: http://github.org/Juniper/contrail-vrouter/commit/0eaeab8d97a822c93a882749db4d9aabc46df601
Submitter: Zuul
Branch: R1.05

commit 0eaeab8d97a822c93a882749db4d9aabc46df601
Author: Raja Sivaramakrishnan <email address hidden>
Date: Wed Sep 24 10:22:55 2014 -0700

Backport to 1.05.

Fix compilation failure for kernels above 3.13.11

skb_get_rxhash was renamed to skb_get_hash somewhere between 3.13.0
and 3.14.0. skb_get_rxhash does not exist in ubuntu sources for
3.13.0-32, for which the version code is 3.13.11. Make skb_get_rxhash
return skb_get_hash for versions above 3.13.11

Closes Bug:1359940

Change-Id: I85b346c659e460484f003ff1bd2f1f195d14981e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/2892
Committed: http://github.org/Juniper/contrail-vrouter/commit/94f527c9fa8ce9422c1c759621c41422bf03e619
Submitter: Zuul
Branch: R1.06

commit 94f527c9fa8ce9422c1c759621c41422bf03e619
Author: anandhk-juniper <email address hidden>
Date: Fri Aug 22 01:16:07 2014 +0530

Fix compilation failure for kernels above 3.13.11

skb_get_rxhash was renamed to skb_get_hash somewhere between 3.13.0
and 3.14.0. skb_get_rxhash does not exist in ubuntu sources for
3.13.0-32, for which the version code is 3.13.11. Make skb_get_rxhash
return skb_get_hash for versions above 3.13.11

Closes Bug:1359940

Change-Id: If3710bf55c0664a85cf8eb4b148f33bded653782
(cherry picked from commit ed0fd5a123a610f0e101aef98aa064e57b254cad)

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.