Am 15.10.2010 14:42, Tejun Heo wrote: > capidrv_init() could leave capictr notifier dangling after init > failure. Fix it. Good catch! I assume David will pick these two up for net-next. Adding him to CC. Acked-by: Jan Kiszka > > Signed-off-by: Tejun Heo > --- > drivers/isdn/capi/capidrv.c | 1 + > 1 file changed, 1 insertion(+) > > Index: work/drivers/isdn/capi/capidrv.c > =================================================================== > --- work.orig/drivers/isdn/capi/capidrv.c > +++ work/drivers/isdn/capi/capidrv.c > @@ -2288,6 +2288,7 @@ static int __init capidrv_init(void) > > errcode = capi20_get_profile(0, &profile); > if (errcode != CAPI_NOERROR) { > + unregister_capictr_notifier(&capictr_nb); > capi20_release(&global.ap); > return -EIO; > }