diff options
| author | Johan Hovold <johan@kernel.org> | 2026-07-09 10:27:13 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-21 11:14:08 -0700 |
| commit | ede0f99cef53ae142ec9f54c705e4b1e48355fd3 (patch) | |
| tree | 6ec5211d93ef80ca4fcbd86b7d46bab4df7eb358 /tools/perf/scripts/python/flamegraph.py | |
| parent | 6deab902b4c06abadeb5242db1488a17fd614e2b (diff) | |
net: mvneta: bm: fix device reference leak on failed lookup
Make sure to drop the reference taken to the buffer manager device when
attempting to look up its driver data before the driver has been bound.
Note that holding a reference to a device does not prevent its driver
data from going away.
Cc: stable+noautosel@kernel.org # untested fix to unlikely error path
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Link: https://patch.msgid.link/20260709082713.829446-1-johan@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
