diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2017-06-25 18:45:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-11 09:08:55 -0700 |
commit | dc4132791a50b7e556d0efd6bc85508751bedaa6 (patch) | |
tree | a0a172ff4d867a96525742ad42fc86c0f8328c44 /drivers/net/phy | |
parent | de6669607a4554d0a4af2cb2d9d08738d3d043a8 (diff) |
net/mlx5: Fix command bad flow on command entry allocation failure
[ Upstream commit 219c81f7d1d5a89656cb3b53d3b4e11e93608d80 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions