aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEmeel Hakim <ehakim@nvidia.com>2022-11-08 16:19:29 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-11-24 00:03:22 -0800
commit194cc051e29ea1641d424126b8f28f9d31d5c655 (patch)
tree9156787a08890fe8df56eed66850e5644af9903c /include
parentceb51b273ec0b1a32de8a167c28a602bb3d290a1 (diff)
downloadlinux-194cc051e29ea1641d424126b8f28f9d31d5c655.tar.gz
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 'include')
0 files changed, 0 insertions, 0 deletions