]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: If the hash for a probe fails to update then free what was initialized
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 5 Apr 2017 17:36:18 +0000 (13:36 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:44 +0000 (22:06 -0400)
commita5a4da0a7573948a9b4c9e6c2115ba6a8d1ebac1
tree2db0703a73df7d182204b2d65d1c71a3d441a246
parent6bbb1c512c0c569af9fc5355a659b790bab610a2
ftrace: If the hash for a probe fails to update then free what was initialized

If the ftrace_hash_move_and_update_ops() fails, and an ops->free() function
exists, then it needs to be called on all the ops that were added by this
registration.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c