diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2018-03-27 14:41:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:48:36 +0200 |
commit | 3d392d2e3ed5b59b995da08a8deb3abb3e48b99b (patch) | |
tree | 3f4745163d47ccf9de291eef6920cd7ca8e01ae3 /net/strparser/strparser.c | |
parent | 1cb81756b7c3813f7d65d3c6bb1133cb53b69775 (diff) |
net/mlx4_core: Fix memory leak while delete slave's resources
[ Upstream commit 461d5f1b59490ce0096dfda45e10038c122a7892 ]
mlx4_delete_all_resources_for_slave in resource tracker should free all
memory allocated for a slave.
While releasing memory of fs_rule, it misses releasing memory of
fs_rule->mirr_mbox.
Fixes: 78efed275117 ('net/mlx4_core: Support mirroring VF DMFS rules on both ports')
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/strparser/strparser.c')
0 files changed, 0 insertions, 0 deletions