summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEmeel Hakim <ehakim@nvidia.com>2022-10-30 12:43:24 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-11-22 05:14:35 +0300
commitd20a56b0eb006096a023a59efccb27a277b38344 (patch)
tree5d4cf245ffb4fe7727de50a0f9d3db01240edd4c /tools/perf/scripts/python
parent11abca031ee34d8d50876e899cb2875d8fac01df (diff)
downloadlinux-d20a56b0eb006096a023a59efccb27a277b38344.tar.xz
net/mlx5e: Fix MACsec SA initialization routine
Currently as part of MACsec SA initialization routine extended packet number (EPN) object attribute is always being set without checking if EPN is actually enabled, the above could lead to a NULL dereference. Fix by adding such a check. Fixes: 4411a6c0abd3 ("net/mlx5e: Support MACsec offload extended packet number (EPN)") 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions