Re: [PATCH] Don't oops when unregistering unknown kprobes

From: Prasanna S Panchamukhi
Date: Wed Apr 27 2005 - 00:09:21 EST


Chris,
On Tue, Apr 26, 2005 at 12:48:41PM -0700, Chris Wedgwood wrote:
> On Tue, Apr 26, 2005 at 06:22:03PM +0200, Frederik Deweerdt wrote:
>
> > Here's a patch that handles gracefully attempts to unregister
> > unregistered kprobes (ie. a warning message instead of an oops).
> > Patch is against 2.6.12-rc3
>
> Why not -EINVAL instead of the printk?

This problem has been already fixed, pls see the URL below.
http://lkml.org/lkml/2005/4/11/112

Currently this patch is in -mm tree. But this patch does not have the
prink reporting failure.

Thanks
Prasanna

--

Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/