port: fix crash for ethdev writer nodrop
authorJasvinder Singh <jasvinder.singh@intel.com>
Wed, 2 Mar 2016 21:19:29 +0000 (21:19 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Mar 2016 10:52:14 +0000 (11:52 +0100)
commit04f366906ab395c8047bebfc1ddea244dfcb40f5
tree865be73caf0512179243478579722ca79b8e84c3
parent8f6f24342281f59de0df7bd976a32f714d39b9a9
port: fix crash for ethdev writer nodrop

Error log:
 [APP] Initializing PIPELINE0 ...
 pipeline> [APP] Initializing PIPELINE1 ...
 [PIPELINE1] Pass-through
 Segmentation fault (core dumped)

Fixes: 304c8091e90a ("port: add ethdev writer nodrop")

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_port/rte_port_ethdev.c