[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1173518637.9092.5.camel@localhost>
Date: Sat, 10 Mar 2007 07:23:57 -0200
From: Mauro Carvalho Chehab <mchehab@...radead.org>
To: Johannes Stezenbach <js@...uxtv.org>
Cc: Simon Arlott <simon@...e.lp0.eu>,
Andrew Morton <akpm@...ux-foundation.org>,
Andreas Oberritter <obi@...uxtv.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-dvb@...uxtv.org
Subject: Re: [PATCH] dvb-core: Fix several locking related problems.
Em Sáb, 2007-03-10 às 02:49 +0100, Johannes Stezenbach escreveu:
> On Sun, Mar 04, 2007 at 05:45:54PM +0000, Simon Arlott wrote:
> > Fix several instances of dvb-core functions using mutex_lock_interruptible
> > and returning -ERESTARTSYS where the calling function will either never
> > retry or never check the return value.
> >
> > These cause a race condition with dvb_dmxdev_filter_free and
> > dvb_dvr_release, both of which are filesystem release functions whose
> > return value is ignored and will never be retried. When this happens it
> > becomes impossible to open dvr0 again (-EBUSY) since it has not been
> > released properly.
> >
> > Signed-off-by: Simon Arlott <simon@...e.lp0.eu>
>
> Acked-By: Johannes Stezenbach <js@...uxtv.org>
>
> I can't test this but to me it looks good.
> Mauro, could you please pick it up and keep it in the
> linuxtv.org repository for a while for testing?
Done.
Thanks, Johannes.
--
Cheers,
Mauro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists