diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-09-11 19:20:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 09:27:32 +0100 |
commit | 0524e92e0f8240866e9f3d79d10d335175c6bb59 (patch) | |
tree | 484ec7bdb2f80c4cff76c7294d8373dfafc126bd /ipc | |
parent | 45947209d3565d0f31b3fca4a7f8c46701cf0bea (diff) | |
download | linux-stable-0524e92e0f8240866e9f3d79d10d335175c6bb59.tar.gz linux-stable-0524e92e0f8240866e9f3d79d10d335175c6bb59.tar.bz2 linux-stable-0524e92e0f8240866e9f3d79d10d335175c6bb59.zip |
kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()
[ Upstream commit 819319fc93461c07b9cdb3064f154bd8cfd48172 ]
Make reuse_unused_kprobe() to return error code if
it fails to reuse unused kprobe for optprobe instead
of calling BUG_ON().
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: David S . Miller <davem@davemloft.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Naveen N . Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/153666124040.21306.14150398706331307654.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions