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

2017-07-21 Thread Stephen Hurd
So the only change was replacing a nesting level with a continue? Yeah, looks good. On Thu, Jul 20, 2017 at 8:22 PM, 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: 3673

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

2017-07-20 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 -- v1->v2: incorporate review feedback.