kni: fix possible deadlock
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 7 Apr 2016 15:55:17 +0000 (16:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 Apr 2016 17:30:16 +0000 (19:30 +0200)
commite274c5f024de82be3ad7a7d617cade09afa091d4
tree66b8fe22ea8f52e2d30506b0c05470d385c7a6dd
parent6fe9e03c380dae686b1610e5fd6ae8921d0bca78
kni: fix possible deadlock

netif_rx() should be used in interrupt context. Replace it with
netif_rx_ni() which is safe to use in process context.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/kni/kni_net.c