kni: ignore double initialization
authorMarc Sune <marc.sune@bisdn.de>
Thu, 18 Jun 2015 16:34:48 +0000 (18:34 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 16:39:40 +0000 (18:39 +0200)
commit3913d96a04fc01b483a3ad4fd06472bb3690cf1d
tree1097c5ff5451a23a83f53c20d727cb6519871a76
parent9c6dfcb720806dbded289d9aecb26f02f001dd49
kni: ignore double initialization

Prevent double initialization of the KNI subsytem.

Signed-off-by: Marc Sune <marc.sune@bisdn.de>
Acked-by: Helin Zhang <helin.zhang@intel.com>
lib/librte_kni/rte_kni.c