diff options
author | Geetha sowjanya <gakula@marvell.com> | 2023-01-03 09:20:12 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-03 09:19:03 +0000 |
commit | 4af1b64f80fbe1275fb02c5f1c0cef099a4a231f (patch) | |
tree | 7bb62617b602754e86a1a97ca590e1d92b3de4e9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 9c807965483f42df1d053b7436eedd6cf28ece6f (diff) |
octeontx2-pf: Fix lmtst ID used in aura free
Current code uses per_cpu pointer to get the lmtst_id mapped to
the core on which aura_free() is executed. Using per_cpu pointer
without preemption disable causing mismatch between lmtst_id and
core on which pointer gets freed. This patch fixes the issue by
disabling preemption around aura_free.
Fixes: ef6c8da71eaf ("octeontx2-pf: cn10K: Reserve LMTST lines per core")
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions