DAHDI Version 2.11.0 on a Raspberry 2 (Raspbian, Linux Kernel 4.1.15-v7+) causes a Kernel Oops
(NULL pointer access in the dahdi kernel module) when used with allstarlink software (old asterisk version with app_rpt)
Problem can be solved by a simple patch to dahdi-base.c:
[code]@@ -1523,7 +1523,7 @@
*/
static void dahdi_disable_hw_preechocan(struct dahdi_chan *chan)
{
- if (chan->span->ops->disable_hw_preechocan)
- if (chan && chan->span && chan->span->ops->disable_hw_preechocan)
chan->span->ops->disable_hw_preechocan(chan);
}
[/code]
Is there a chance for getting this patch into the next dahdi release?
-Hans