Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: DVB related bug in 2.6.8 and following



Michael Hunold wrote:
> On 18.10.2004 23:23, Johannes Stezenbach wrote:
> >Maybe we should free "data" after unregistering the
> >frontend in uni0299_detach(). (There's a single alloc/free
> >and it has the right size for slab-32 so this is the only
> >thing I could imagine.)
> 
> Yes. "data" is saved when dvb_register_frontend() is called and it's 
> used in the frontend thread for example. It might be possible, that 
> right after freeing the memory, but before the call to 
> dvb_unregister_frontend() is done, the frontend thread kicks in.
> 
> >Johannes
> 
> I created a patch and sent it off to the one who filed the bug at 
> bugme.osdl.org.

It would be worth trying if the problem also goes away when
dvb_shutdown_timeout is set to zero (i.e. the frontend thread
exits immediately when the frontend device is closed).

Johannes




Home | Main Index | Thread Index