Revision 6234056e1380e72f316546cba13d0f8f09b29789 authored by Linus Torvalds on 28 October 2014, 20:27:19 UTC, committed by Linus Torvalds on 28 October 2014, 20:27:19 UTC
Pull ftrace trampoline accounting fixes from Steven Rostedt:
 "Adding the new code for 3.19, I discovered a couple of minor bugs with
  the accounting of the ftrace_ops trampoline logic.

  One was that the old hash was not updated before calling the modify
  code for an ftrace_ops.  The second bug was what let the first bug go
  unnoticed, as the update would check the current hash for all
  ftrace_ops (where it should only check the old hash for modified
  ones).  This let things work when only one ftrace_ops was registered
  to a function, but could break if more than one was registered
  depending on the order of the look ups.

  The worse thing that can happen if this bug triggers is that the
  ftrace self checks would find an anomaly and shut itself down"

* tag 'trace-fixes-v3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  ftrace: Fix checking of trampoline ftrace_ops in finding trampoline
  ftrace: Set ops->old_hash on modifying what an ops hooks to
2 parent s 6e2028a + 4fc4090
History
File Mode Size
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 422 bytes
addr.c -rw-r--r-- 3.8 KB
addr.h -rw-r--r-- 615 bytes
atm_misc.c -rw-r--r-- 2.6 KB
atm_sysfs.c -rw-r--r-- 4.1 KB
br2684.c -rw-r--r-- 23.2 KB
clip.c -rw-r--r-- 22.3 KB
common.c -rw-r--r-- 21.6 KB
common.h -rw-r--r-- 1.6 KB
ioctl.c -rw-r--r-- 9.2 KB
lec.c -rw-r--r-- 60.1 KB
lec.h -rw-r--r-- 5.1 KB
lec_arpc.h -rw-r--r-- 2.9 KB
mpc.c -rw-r--r-- 38.2 KB
mpc.h -rw-r--r-- 1.9 KB
mpoa_caches.c -rw-r--r-- 14.7 KB
mpoa_caches.h -rw-r--r-- 3.0 KB
mpoa_proc.c -rw-r--r-- 7.2 KB
pppoatm.c -rw-r--r-- 15.6 KB
proc.c -rw-r--r-- 11.5 KB
protocols.h -rw-r--r-- 379 bytes
pvc.c -rw-r--r-- 3.7 KB
raw.c -rw-r--r-- 1.8 KB
resources.c -rw-r--r-- 9.9 KB
resources.h -rw-r--r-- 1019 bytes
signaling.c -rw-r--r-- 6.8 KB
signaling.h -rw-r--r-- 838 bytes
svc.c -rw-r--r-- 16.0 KB

back to top