From: Mariusz Kozlowski Date: Mon, 4 Apr 2011 05:04:01 +0000 (-0700) Subject: mlx4: fix kfree on error path in new_steering_entry() X-Git-Tag: v2.6.39-rc2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14b289d4614bb3b25d0455d68f72f3c7b4cc8e8;p=pandora-kernel.git mlx4: fix kfree on error path in new_steering_entry() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed