From: Majd Dibbiny Date: Thu, 29 Jan 2015 08:41:41 +0000 (+0200) Subject: IB/mlx4: Fix memory leak in __mlx4_ib_modify_qp X-Git-Tag: fixes-v4.0-rc1~31^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bede98e781747623ae170667694a71ef19c6ba7f;p=pandora-kernel.git IB/mlx4: Fix memory leak in __mlx4_ib_modify_qp In case handle_eth_ud_smac_index fails, we need to free the allocated resources. Fixes: 2f5bb473681b ("mlx4: Add ref counting to port MAC table for RoCE") Signed-off-by: Majd Dibbiny Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed