aboutsummaryrefslogtreecommitdiff
path: root/kernel/iomem.c
diff options
context:
space:
mode:
authorGravatar Steven Rostedt (VMware) <rostedt@goodmis.org> 2019-08-30 16:30:01 -0400
committerGravatar Steven Rostedt (VMware) <rostedt@goodmis.org> 2019-08-30 16:30:01 -0400
commit372e0d01da71c84dcecf7028598a33813b0d5256 (patch)
tree3aa1bf6e2a344b91cc5078abc4fa982f479e914a /kernel/iomem.c
parentftrace: Fix NULL pointer dereference in t_probe_next() (diff)
downloadlinux-372e0d01da71c84dcecf7028598a33813b0d5256.tar.gz
linux-372e0d01da71c84dcecf7028598a33813b0d5256.tar.bz2
linux-372e0d01da71c84dcecf7028598a33813b0d5256.zip
ftrace: Check for empty hash and comment the race with registering probes
The race between adding a function probe and reading the probes that exist is very subtle. It needs a comment. Also, the issue can also happen if the probe has has the EMPTY_HASH as its func_hash. Cc: stable@vger.kernel.org Fixes: 7b60f3d876156 ("ftrace: Dynamically create the probe ftrace_ops for the trace_array") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/iomem.c')
0 files changed, 0 insertions, 0 deletions