aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2019-10-30 08:17:18 +0000
committerHelge Deller <[email protected]>2019-10-30 20:24:40 +0000
commit3d252454edd0fe88c8250cb7f9dfb9ec12d208d7 (patch)
tree251da25272b1694124dc2a7ec2dd98e0dbf6544f /net/tipc/socket.c
parentMerge tag 'iommu-fixes-v5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadkernel-3d252454edd0fe88c8250cb7f9dfb9ec12d208d7.tar.gz
kernel-3d252454edd0fe88c8250cb7f9dfb9ec12d208d7.zip
parisc: fix frame pointer in ftrace_regs_caller()
The current code in ftrace_regs_caller() doesn't assign %r3 to contain the address of the current frame. This is hidden if the kernel is compiled with FRAME_POINTER, but without it just crashes because it tries to dereference an arbitrary address. Fix this by always setting %r3 to the current stack frame. Signed-off-by: Sven Schnelle <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions