diff options
| author | Todd Kjos <[email protected]> | 2017-06-29 12:01:59 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-17 14:48:23 +0200 |
| commit | adc1884222276df6eb018f78bccacbcd78a0b9f6 (patch) | |
| tree | 3b041b13a03729009bd2fa063fc2163bc27aac0f /tools/perf/scripts/python | |
| parent | 372e3147df7016ebeaa372939e8774a1292db558 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions