[PATCH] Kprobes: Oops! in unregister_kprobe()
authorPrasanna S Panchamukhi <prasanna@in.ibm.com>
Thu, 5 May 2005 23:15:41 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:39 +0000 (16:36 -0700)
commit04dea5f93231204cc3ca0ab793ce76dbb10c86ba
treeb47e20371a62b46bedea4337f191d245b44b097f
parent0b9e2cac8a56e197d0a9e06268db4c8652d23dd5
[PATCH] Kprobes: Oops! in unregister_kprobe()

kernel oops!  when unregister_kprobe() is called on a non-registered
kprobe.  This patch fixes the above problem by checking if the probe exists
before unregistering.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/kprobes.c