net/softnic: fix memory leak for thread
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 27 Apr 2020 17:13:20 +0000 (18:13 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commit22335d4348d4b4b615d5556947c0297e0fe5d79b
tree00a5ab84fff85477286bb10f9bf252fc77530f5b
parentafff2aa3e34ea4c739327d71ab14a7b754a14483
net/softnic: fix memory leak for thread

For sending request messages to data plane threads, the
caller invokes thread_msg_send_recv() function which never
returns null response. Thus, removed redundant check on
the returned response.

Coverity issue: 357717, 357772
Fixes: 70709c78fda6 ("net/softnic: add command to enable/disable pipeline")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/softnic/rte_eth_softnic_thread.c