Fix possible memory leak issue: free kvlist before return;
Fix possible resource lost issue: close qssockfd before return;
Signed-off-by: Changchun Ouyang
---
Change in v4:
- Check sockfd in internals->rx_queue against 0.
Change in v3:
- Also close sockets for all queues.
Change in v2:
-
Hi Michael,
> -Original Message-
> From: Qiu, Michael
> Sent: Monday, March 9, 2015 2:39 PM
> To: Ouyang, Changchun; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v4] af_packet: Fix some klocwork errors
>
> On 3/9/2015 11:49 AM, Ouyang Changchun wrote:
> &g
On 3/9/2015 11:49 AM, Ouyang Changchun wrote:
> Fix possible memory leak issue: free kvlist before return;
> Fix possible resource lost issue: close qssockfd before return;
>
> Signed-off-by: Changchun Ouyang
> ---
> Change in v4:
> - Check sockfd in internals->rx_queue against 0.
>
> Change in
3 matches
Mail list logo