summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_tunnel.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-23 17:25:57 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-07-24 17:22:51 +0200
commit15544209cb0b5312e5220a9337a1fe61d1a1f2d9 (patch)
treeec12c5587cd71821b5edff4f67dc0439438cb538 /net/ipv4/xfrm4_tunnel.c
parenttracing: Introduce trace_create_cpu_file() and tracing_get_cpu() (diff)
downloadlinux-15544209cb0b5312e5220a9337a1fe61d1a1f2d9.tar.xz
linux-15544209cb0b5312e5220a9337a1fe61d1a1f2d9.zip
tracing: Change tracing_pipe_fops() to rely on tracing_get_cpu()
tracing_open_pipe() is racy, the memory inode->i_private points to can be already freed. Change debugfs_create_file("trace_pipe", data) callers to to pass "data = tr", tracing_open_pipe() can use tracing_get_cpu(). Link: http://lkml.kernel.org/r/20130723152557.GA23717@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions