diff options
author | 2024-08-13 22:10:23 +0800 | |
---|---|---|
committer | 2024-08-15 13:07:08 +0200 | |
commit | 86db7bfb06704ef17340eeae71c832f21cfce35c (patch) | |
tree | acc36b149a04ab6aa75c6aa313a291fbdcfe8153 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: fix a deadlock problem when config TC during resetting (diff) | |
download | linux-rng-86db7bfb06704ef17340eeae71c832f21cfce35c.tar.xz linux-rng-86db7bfb06704ef17340eeae71c832f21cfce35c.zip |
net: hns3: void array out of bound when loop tnl_num
When query reg inf of SSU, it loops tnl_num times. However, tnl_num comes
from hardware and the length of array is a fixed value. To void array out
of bound, make sure the loop time is not greater than the length of array
Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions