kni: fix module init/exit
authorVincent Guo <guopengfei160@163.com>
Fri, 2 Sep 2016 10:23:13 +0000 (18:23 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 9 Sep 2016 14:30:37 +0000 (16:30 +0200)
commit6914c3b844195875c351d2c36685a84715f1e659
treebdeca08ff2fce85af8f4b6fbe7437234367252a1
parentc37a291cd169cd1ec25bc1950f4d97e9ed9df0be
kni: fix module init/exit

Fix pernet calls when HAVE_SIMPLIFIED_PERNET_OPERATIONS is not set.

Fixes: e6734d21b4e1 ("kni: fix build with kernel 2.6.32")

Signed-off-by: Vincent Guo <guopengfei160@163.com>
Acked-by Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/kni/kni_misc.c