]> git.baikalelectronics.ru Git - kernel.git/commit
net: avoid to call skb_queue_len again
authorLi RongQing <roy.qing.li@gmail.com>
Mon, 8 Dec 2014 01:42:55 +0000 (09:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 22:03:19 +0000 (17:03 -0500)
commitae931ac82a8c07dfc9319e7ee43609e74583d3b0
tree5fc1503bb3315aab6a1a67b183a76d1b9689b5cd
parent98cda69695617d395b92a4feefff514ed4d3e4e9
net: avoid to call skb_queue_len again

the queue length of sd->input_pkt_queue has been put into qlen,
and impossible to change, since hold the lock

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c