Re: [PATCH] IB/rxe: double free on error

Moni Shoua
2017-03-08T16:44:15Z

On Wed, Mar 8, 2017 at 7:21 AM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> "goto err;" has it's own kfree_skb() call so it's a double free. We
> only need to free on the "goto exit;" path.
>
> Fixes: 8700e3e7c485 ("Soft RoCE driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> Static analysis. Not tested. Please review carefully.

Ack-by: Moni Shoua <monis@mellanox.com>