[linux-dvb] [PATCH] Fix deadlock in demux code
obi at linuxtv.org
Wed Sep 24 10:00:37 CEST 2008
The functions dvb_dmxdev_section_callback, dvb_dmxdev_ts_callback,
dvb_dmx_swfilter_packet, dvb_dmx_swfilter_packets, dvb_dmx_swfilter and
dvb_dmx_swfilter_204 may be called from both interrupt and process
context. Therefore they need to be protected by spin_lock_irqsave()
instead of spin_lock().
This fixes a deadlock discovered by lockdep.
Signed-off-by: Andreas Oberritter <obi at linuxtv.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4028 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080924/44966816/attachment.bin
More information about the linux-dvb