kni: fix error rollback kernel crash
authorYangchao Zhou <zhouyates@gmail.com>
Sun, 11 Sep 2016 09:59:23 +0000 (17:59 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Sep 2016 16:36:23 +0000 (18:36 +0200)
commitf503b8cff520c5b17d929c7ee8304c2eab7bb20b
treee092eda39c80f00b7fab302337f6c6245491f3e5
parent135045f6c6f482df712c2302e1909a26a1177067
kni: fix error rollback kernel crash

Fixes: 9c61145ff6f9 ("kni: allow multiple threads")

Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/kni/kni_misc.c