Re: [dpdk-dev] [PATCH 2/8] net/bnxt: fix to avoid a segfault

2017-07-20 Thread Ferruh Yigit
On 7/20/2017 5:48 AM, Ajit Khaparde wrote: > Fix use of local variable to avoid segfault. > cnt was incorrectly tested and decremented in the loop that removes > a VLAN from the table. > > Fixes: 36735a932ca7 ("support set VF QOS and MAC anti spoof") > > Signed-off-by: Stephen Hurd > Signed-off-

[dpdk-dev] [PATCH 2/8] net/bnxt: fix to avoid a segfault

2017-07-19 Thread Ajit Khaparde
Fix use of local variable to avoid segfault. cnt was incorrectly tested and decremented in the loop that removes a VLAN from the table. Fixes: 36735a932ca7 ("support set VF QOS and MAC anti spoof") Signed-off-by: Stephen Hurd Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/rte_pmd_bnxt.c | 1