kni: fix build on Ubuntu 12.04.5
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Tue, 30 Sep 2014 12:10:25 +0000 (13:10 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 30 Sep 2014 16:02:20 +0000 (18:02 +0200)
commite88c3b0a591b12609086a0a57878d55e2a135c4d
tree5b5d805351929d4404ef395b9357fe89ffd0198b
parentc6d8b70a3006f50b77a5b9896236641565681a51
kni: fix build on Ubuntu 12.04.5

Recent Ubuntu 12.04.5 LTS is shipped with 3.13.0-36.63 as the only
supported kernel.
So skb_set_hash has been backported and is conflicting with kni kcompat one.
Commit a09b359daca ("fix build on Ubuntu 14.04") describes the initial problem.

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
[Thomas: reorder conditions to ease reading]
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h