ifb: use the lockless variants of skb_queue
authorChangli Gao <xiaosuo@gmail.com>
Sat, 4 Dec 2010 15:01:52 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:34:34 +0000 (14:34 -0800)
commit957fca95e3521e471aac4c2e4cfbc21f399bdd84
treeb76b95933dda9b9b4319ee8711b555be2c28c23d
parentc6350362cbb19882ba0eb3578cc1abc07e6ea204
ifb: use the lockless variants of skb_queue

rq and tq are both protected by tx queue lock, so we can simply use
the lockless variants of skb_queue.

skb_queue_splice_tail_init() is used instead of the open coded and slow
one.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c