avoid leaking crdp for failed path
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 15 Sep 2011 15:24:03 +0000 (11:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Sep 2011 15:24:03 +0000 (11:24 -0400)
commit356c8794ee9e562954a52653fbb8f37b7fe16082
treed4c09315d08dcc69361c0fbf684fa78dd77f2946
parent53a55535da7db6ac6a2f37107baed9130c049333
avoid leaking crdp for failed path

[ Comment: now that set_cpu_call_rcu_data() is not racy and detects
  overwrites, we can effectively trust its return value and free the
  crdp if already set. ]

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-call-rcu-impl.h
This page took 0.024434 seconds and 4 git commands to generate.