Noa Osherovich d49c2197fd net/mlx4_core: Avoid returning success in case of an error flow
The err variable wasn't set with the correct error value in some cases.

Fixes: 47605df95398 ('mlx4: Modify proxy/tunnel QP mechanism [..]')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-15 18:43:41 -05:00
..
2015-11-05 13:15:12 -08:00
2015-11-15 17:09:23 -05:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-09 15:11:24 -08:00
2015-11-04 17:32:42 -08:00
2015-10-21 19:36:10 -07:00
2015-10-13 04:55:07 -07:00
2015-10-13 04:55:07 -07:00
2015-11-04 17:32:42 -08:00