net/kni: fix return value check
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Apr 2019 15:36:21 +0000 (16:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit994e039b953b06a385d4362e1729a150f1a02d77
tree105b0375e50381608ea006e5ede579bed0867557
parente0474b94f8a36672d66be7408e3f7cf00e302329
net/kni: fix return value check

'rte_kni_release()' return value is not checked, adding it.

Coverity issue: 336837
Fixes: 75e2bc54c018 ("net/kni: add KNI PMD")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/kni/rte_eth_kni.c