Bug#721147: Potential fix (state: works for me)

Petter Reinholdtsen pere at hungry.com
Fri Oct 12 07:41:47 BST 2018


Control: tags -1 + patch

[Karsten Richter 2015-02-13]
> Patch:
> 
> 1. Replace the struct sk_buff with a plain void * that is only allocated when needed. It’s a throw away buffer, so no need the added complexity of sk_buff.
> 2. Remove memcpy which copies frame data from the channel buffer to the SKB in the channel open case.
> 3. As a consequence of (2) the alloc/dealloc code is moved into the channel closed case of the if statement.
> 
> The attached patch is tested successfully on my live EDSS1 line here in Germany. 

Did you try to send this patch to the upstream developers?  It seem like
a good idea to get their input on the changes, and it is probably best if
you have direct contact with them instead of trying to pass in through
others.

I believe upstream uses <URL: https://issues.asterisk.org/jira/browse/DAHLIN >
as their bug tracker.

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-voip-maintainers mailing list