examples/kni: fix crash on exit
authorHyun Yoo <easetheworld@gmail.com>
Wed, 5 Aug 2015 21:58:04 +0000 (14:58 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 10 Aug 2015 14:25:30 +0000 (16:25 +0200)
commit10cbac6ae95e27f99d81d4d6a4e00bf73de3ef13
treed5be8d1512e43904d78b2831b1c9931960daa407
parentb7f477920f7be7052e8d5de9ea14f61aba7597d3
examples/kni: fix crash on exit

In kni_free_kni(), p[i] should be p[port_id].

Signed-off-by: Hyun Yoo <easetheworld@gmail.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
examples/kni/main.c