linux-avmb1:Re: BUGFIX: several capi oops and strange messages in 2.6

Armin Schindler armin at melware.de
Thu Aug 26 19:30:02 CEST 2004


On Thu, 26 Aug 2004, Carsten Paeth wrote:
> Hello.
>
> There are several oops with capi in 2.6 kernels:
> - oops in skb_dequeue under heavy data load
> - kernel message: "BUG: dst underflow 0: xxxxxxx"
> - kernel message: "BUG: dst underflow 0: xxxxxxx at xxxxxxx"
> - problems with chan_capi and asterisk and AVM cards
>
> The problem is that the low level send_message function in
> the capi hardware drivers free the skb when an error occured.
> This is wrong. This bug is in the kernel since transfering
> the handling of msgidqueue from kcapi.c to the low level
> hardware drivers.
>
> !!!! The skb should only be consumed when CAPI_NOERROR is returned !!!!
>
> The attached patch fixes all that problems.
>
> best regards,
>
> calle
>
> P.S.: Who will schedule this patch to be included in the next version of 2.6 ?

If it's okay for you, I will run tests here with your patch and then send it
to Linus/Andrew.

Thanks,
Armin





More information about the linux-avmb1 mailing list