Re: [PATCH] mlx4: fix kfree on error path in new_steering_entry()

From: David Miller
Date: Mon Apr 04 2011 - 01:04:54 EST


From: Mariusz Kozlowski <mk@xxxxxxxxxxxx>
Date: Sun, 3 Apr 2011 23:26:23 +0200

> On error path kfree() should get pointer to memory allocated by
> kmalloc() not the address of variable holding it (which is on stack).
>
> Signed-off-by: Mariusz Kozlowski <mk@xxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/