diff options
author | Emeel Hakim <ehakim@nvidia.com> | 2022-10-30 12:19:52 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-11-22 05:14:35 +0300 |
commit | 8514e325ef016e3fdabaa015ed1adaa6e6d8722a (patch) | |
tree | 6608cc75928d14f0bbc5c01421abe862b756ed3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 94ffd6e0c7dbcffbcded79e283aefbee3499af96 (diff) | |
download | linux-8514e325ef016e3fdabaa015ed1adaa6e6d8722a.tar.xz |
net/mlx5e: Fix possible race condition in macsec extended packet number update routine
Currenty extended packet number (EPN) update routine is accessing
macsec object without holding the general macsec lock hence facing
a possible race condition when an EPN update occurs while updating
or deleting the SA.
Fix by holding the general macsec lock before accessing the object.
Fixes: 4411a6c0abd3 ("net/mlx5e: Support MACsec offload extended packet number (EPN)")
Signed-off-by: Emeel Hakim <ehakim@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions