commit | 219c81f7d1d5a89656cb3b53d3b4e11e93608d80 | [log] [tgz] |
---|---|---|
author | Moshe Shemesh <moshe@mellanox.com> | Sun Jun 25 18:45:32 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Jul 27 16:40:16 2017 +0300 |
tree | 605f7e1c31bd02226eccc69abd48b8e8d25f33aa | |
parent | 061870800efb4e3d1ad4082a2569363629bdfcfc [diff] |
net/mlx5: Fix command bad flow on command entry allocation failure When driver fail to allocate an entry to send command to FW, it must notify the calling function and release the memory allocated for this command. Fixes: e126ba97dba9e ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Cc: kernel-team@fb.com Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>