commit | bede98e781747623ae170667694a71ef19c6ba7f | [log] [tgz] |
---|---|---|
author | Majd Dibbiny <majd@mellanox.com> | Thu Jan 29 10:41:41 2015 +0200 |
committer | Roland Dreier <roland@purestorage.com> | Tue Feb 17 22:11:40 2015 -0800 |
tree | 4621d1214dda718057034a3426f1c2884b914bd9 | |
parent | e9a7faf11af94957e5107b40af46c2e329541510 [diff] |
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 <majd@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>