[PATCH 2/2] Use GFP_KERNEL for RX skb allocations

YanBo dreamfly281 at gmail.com
Sat May 25 12:11:53 EDT 2013


On Fri, May 24, 2013 at 8:58 PM, Pontus Fuchs <pontus.fuchs at gmail.com> wrote:
> On 2013-05-24 14:43, Pontus Fuchs wrote:
>>
>>
>> -       skb2 = skb_clone(skb, GFP_ATOMIC);
>> +       skb2 = skb_clone(skb, GFP_KERNEL);
>
>
> BTW. Is skb_clone really correct? Should we use skb_copy instead?

it is not correctly, it may lead to the hardware and software resource
race cause the buffer still in the DMA map ring,  I have submitted
another patch to fix this problem.

BR /Yanbo
>
> //Pontus
>
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx



More information about the wcn36xx mailing list