On Fri, Sep 25, 2015 at 5:39 PM, Robb Manes <rma...@redhat.com> wrote:
> Both new_steering_entry() and existing_steering_entry() return values
> based on their success or failure, but currently they fall through
> silently.  This can make troubleshooting difficult, as we were unable
> to tell which one of these two functions returned errors or
> specifically what code was returned.  This patch remedies that
> situation by passing the return codes to err, which is returned by
> mlx4_qp_attach_common() itself.
>
> This also addresses a leak in the call to mlx4_bitmap_free() as well.
>
> Signed-off-by: Robb Manes <rma...@redhat.com>

looks correct.

Acked-by: Or Gerlitz <ogerl...@mellanox.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to