summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRaed Salem <raeds@nvidia.com>2022-10-26 16:51:50 +0300
committerJakub Kicinski <kuba@kernel.org>2022-10-27 21:06:56 +0300
commitd3ecf037569c64490a5cae5a1ac4605f4bedc607 (patch)
treed4a4e925c30c8873b5978b5c8e1d5191899a97e7 /tools/perf/scripts/python/exported-sql-viewer.py
parentaefb62a9988749703435e941704624949a80a2a9 (diff)
downloadlinux-d3ecf037569c64490a5cae5a1ac4605f4bedc607.tar.xz
net/mlx5e: Fix macsec coverity issue at rx sa update
The cited commit at update rx sa operation passes object attributes to MACsec object create function without initializing/setting all attributes fields leaving some of them with garbage values, therefore violating the implicit assumption at create object function, which assumes that all input object attributes fields are set. Fix by initializing the object attributes struct to zero, thus leaving unset fields with the legal zero value. Fixes: aae3454e4d4c ("net/mlx5e: Add MACsec offload Rx command support") Signed-off-by: Raed Salem <raeds@nvidia.com> Reviewed-by: Lior Nahmanson <liorna@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20221026135153.154807-13-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions