commit | a14b289d4614bb3b25d0455d68f72f3c7b4cc8e8 | [log] [tgz] |
---|---|---|
author | Mariusz Kozlowski <mk@lab.zgora.pl> | Sun Apr 03 22:04:01 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 03 22:04:01 2011 -0700 |
tree | e7feb055039bf9040dff0fd662e4685d8a302def | |
parent | 2fceec13375e5d98ef033c6b0ee03943fc460950 [diff] |
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 <mk@lab.zgora.pl> Signed-off-by: David S. Miller <davem@davemloft.net>