diff options
author | 2023-11-10 17:37:10 +0800 | |
---|---|---|
committer | 2023-11-13 09:06:58 +0000 | |
commit | 53aba458f23846112c0d44239580ff59bc5c36c3 (patch) | |
tree | 171b6dc3b85dd69c81af36626c5ce1b4493fe42b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: hns3: fix incorrect capability bit display for copper port (diff) | |
download | wireguard-linux-53aba458f23846112c0d44239580ff59bc5c36c3.tar.xz wireguard-linux-53aba458f23846112c0d44239580ff59bc5c36c3.zip |
net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
The hns3 driver define an array of string to show the coalesce
info, but if the kernel adds a new mode or a new state,
out-of-bounds access may occur when coalesce info is read via
debugfs, this patch fix the problem.
Fixes: c99fead7cb07 ("net: hns3: add debugfs support for interrupt coalesce")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions