Re: [dpdk-dev] [PATCH] testpmd: fix init mpls struct

2020-02-02 Thread Ori Kam
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Friday, January 31, 2020 1:01 PM > To: Ori Kam ; Wenzhuo Lu ; > Jingjing Wu ; Bernard Iremonger > > Cc: dev@dpdk.org; Slava Ovsiienko ; > sta...@dpdk.org > Subject: Re: [PATCH] testpmd: fix init mpls struct > > On 1/30/2020 4:

Re: [dpdk-dev] [PATCH] testpmd: fix init mpls struct

2020-01-31 Thread Ferruh Yigit
On 1/30/2020 4:18 PM, Ori Kam wrote: > When adding mpls item we copy the structure, in some cases > the item is not initialized. > > This commit solves this by initializing the struct. > > Coverity issue: 325734 > Fixes: a1191d39cb57 ("app/testpmd: add MPLSoUDP encapsulation") > Cc: sta...@dpdk.o

[dpdk-dev] [PATCH] testpmd: fix init mpls struct

2020-01-30 Thread Ori Kam
When adding mpls item we copy the structure, in some cases the item is not initialized. This commit solves this by initializing the struct. Coverity issue: 325734 Fixes: a1191d39cb57 ("app/testpmd: add MPLSoUDP encapsulation") Cc: sta...@dpdk.org Signed-off-by: Ori Kam --- app/test-pmd/cmdline