summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2017-06-29 12:01:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 14:48:23 +0200
commitadc1884222276df6eb018f78bccacbcd78a0b9f6 (patch)
tree3b041b13a03729009bd2fa063fc2163bc27aac0f /tools/perf/scripts/python/bin
parent372e3147df7016ebeaa372939e8774a1292db558 (diff)
downloadlinux-adc1884222276df6eb018f78bccacbcd78a0b9f6.tar.gz
linux-adc1884222276df6eb018f78bccacbcd78a0b9f6.zip
binder: use node->tmp_refs to ensure node safety
When obtaining a node via binder_get_node(), binder_get_node_from_ref() or binder_new_node(), increment node->tmp_refs to take a temporary reference on the node to ensure the node persists while being used. binder_put_node() must be called to remove the temporary reference. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions