diff options
author | 2022-11-08 16:19:29 +0200 | |
---|---|---|
committer | 2022-11-24 00:03:22 -0800 | |
commit | 194cc051e29ea1641d424126b8f28f9d31d5c655 (patch) | |
tree | 9156787a08890fe8df56eed66850e5644af9903c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | net/mlx5e: MACsec, fix mlx5e_macsec_update_rxsa bail condition and functionality (diff) | |
download | wireguard-linux-194cc051e29ea1641d424126b8f28f9d31d5c655.tar.xz wireguard-linux-194cc051e29ea1641d424126b8f28f9d31d5c655.zip |
net/mlx5e: MACsec, fix add Rx security association (SA) rule memory leak
Currently MACsec's add Rx SA flow steering (fs) rule routine
uses a spec object which is dynamically allocated and do
not free it upon leaving. The above led to a memory leak.
Fix by freeing dynamically allocated objects.
Fixes: 3b20949cb21b ("net/mlx5e: Add MACsec RX steering rules")
Signed-off-by: Emeel Hakim <ehakim@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions