[dpdk-dev] [PATCH] kni: fix compile issue on Ubuntu 12.04 with kernel 3.13.0-30

2015-11-24 Thread Thomas Monjalon
2015-11-24 16:59, Pablo de Lara: > Fixes following error when Ubuntu 12.04 uses kernel 3.13.0-30-generic, > since skb_set_hash() is implemented in the kernel from 3.13.0-30, > which is declared as UBUNTU_KERNEL_VERSION(3,13,0,30,0) and not > UBUNTU_KERNEL_VERSION(3,13,0,30,54) > > In file included

[dpdk-dev] [PATCH] kni: fix compile issue on Ubuntu 12.04 with kernel 3.13.0-30

2015-11-24 Thread Pablo de Lara
Fixes following error when Ubuntu 12.04 uses kernel 3.13.0-30-generic, since skb_set_hash() is implemented in the kernel from 3.13.0-30, which is declared as UBUNTU_KERNEL_VERSION(3,13,0,30,0) and not UBUNTU_KERNEL_VERSION(3,13,0,30,54) In file included from /usr/src/linux-headers-3.13.0-30-generi