Oops when unregistering kprobes

Ananth N Mavinakayanahalli ananth@in.ibm.com
Fri Apr 15 22:39:00 GMT 2005


On Fri, Apr 15, 2005 at 05:48:55PM -0400, William Cohen wrote:
> I noticed when attempting to run my multiprobe test (kprobe-multi.ko) on 
> the stock 2.6.12-rc1-mm2 kernel that only allows a single probe at an 
> address. I know that is is going to fail. However, I got an oops from 
> attempting to remove a non existant probe. Only one of the two probes 
> were inserted, but the code tried to remove both, resulting in the oops 
> for the second kprobe removal. Could we make this more robust so 
> kprobe_unregister can't oops on a bogus kprobe removal?
> 

Will,

Prasanna posted a patch a few days back to fix this issue. Please refer

http://sourceware.org/ml/systemtap/2005-q2/msg00084.html

for the patch.

Thanks,
Ananth



More information about the Systemtap mailing list