kni: fix build with kernel 3.17
authorAaro Koskinen <aaro.koskinen@nsn.com>
Mon, 18 Aug 2014 12:44:59 +0000 (15:44 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 29 Aug 2014 14:18:25 +0000 (16:18 +0200)
commit0ab95e82c14f7bc4d6270e1c97d6c55b30fabf9b
treeb9d42d05303a6c2ead1ea7ce849ed01aad5af4af
parentf20a47ff97da3910529ad4d979d7a6e256cf0a0c
kni: fix build with kernel 3.17

Since Linux commit "set name_assign_type in alloc_netdev" (c835a677331495),
the function alloc_netdev takes a new parameter (name_assign_type)
whose default value is NET_NAME_UNKNOWN.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/kni/kni_misc.c