aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2018-12-28 07:22:26 -0800
committerLinus Torvalds <[email protected]>2018-12-28 12:42:30 -0800
commit1a80dade010c7a7f4885a4c4c2a7ac22cc7b34df (patch)
tree95cc3a11b8292c2abeb81fecec48739e2390d087 /tools/perf/scripts/python/export-to-postgresql.py
parent00c569b567c7f1f0da6162868fd02a9f29411805 (diff)
Fix failure path in alloc_pid()
The failure path removes the allocated PIDs from the wrong namespace. This could lead to us inadvertently reusing PIDs in the leaf namespace and leaking PIDs in parent namespaces. Fixes: 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API") Cc: <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Reviewed-by: Oleg Nesterov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions