[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54858B56.1020607@cogentembedded.com>
Date: Mon, 08 Dec 2014 14:28:22 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Li RongQing <roy.qing.li@...il.com>,
Eric Dumazet <eric.dumazet@...il.com>
CC: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH][net-next] net: avoid to call skb_queue_len again
Hello.
On 12/8/2014 3:46 AM, Li RongQing wrote:
>>>> From: Li RongQing <roy.qing.li@...il.com>
>>>> the queue length of sd->input_pkt_queue has been putted into qlen,
>>> s/putted/put/, it's irregular verb.
> I will fix it and resend this patch
>>>> and impossible to change, since hold the lock
>>> I can't parse that. Who holds the lock?
>> This thread/cpu holds the lock to manipulate input_pkt_queue.
>> Otherwise, the following would break horribly....
>> __skb_queue_tail(&sd->input_pkt_queue, skb);
> Thanks Eric
I expect you to also refine the description, so that it's meaningful,
unlike now.
> -Roy
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists