[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 03 Apr 2011 22:04:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mk@....zgora.pl
Cc: yevgenyp@...lanox.co.il, rolandd@...co.com, alekseys@...taire.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mlx4: fix kfree on error path in new_steering_entry()
From: Mariusz Kozlowski <mk@....zgora.pl>
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@....zgora.pl>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists