]> asedeno.scripts.mit.edu Git - linux.git/commit
kprobes: Remove pointless BUG_ON() from add_new_kprobe()
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 11 Sep 2018 10:19:43 +0000 (19:19 +0900)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Sep 2018 06:01:15 +0000 (08:01 +0200)
commitc72e6742f62d7bb82a77a41ca53940cb8f73e60f
tree14af3c9db3bbe91db31d49c6e78239f99244d5db
parentd0555fc78fdba5646a460e83bd2d8249c539bb89
kprobes: Remove pointless BUG_ON() from add_new_kprobe()

Before calling add_new_kprobe(), aggr_probe's GONE
flag and kprobe GONE flag are cleared. We don't need
to worry about that flag at this point.

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/153666118298.21306.4915366706875652652.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/kprobes.c