diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-01-07 07:24:57 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 15:20:24 +0300 |
| commit | be9714732436d670fbc18e876cfbc5b0cc41ec38 (patch) | |
| tree | 3c87102298d84253a30eeaf82489c5f2d0997a26 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d775c86e746b5db34de64e5d920c324135475f74 (diff) | |
| download | linux-be9714732436d670fbc18e876cfbc5b0cc41ec38.tar.xz | |
NTB: ntb_transport: Fix too small buffer for debugfs_name
[ Upstream commit 6a4b50585d74fe45d3ade1e3e86ba8aae79761a5 ]
The buffer used for "qp%d" was only 4 bytes, which truncates names like
"qp10" to "qp1" and causes multiple queues to share the same directory.
Enlarge the buffer and use sizeof() to avoid truncation.
Fixes: fce8a7bb5b4b ("PCI-Express Non-Transparent Bridge Support")
Cc: <stable@vger.kernel.org> # v3.9+
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
