]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: out_of_order_queue do not use its lock
authorEric Dumazet <edumazet@google.com>
Mon, 6 Jan 2014 17:36:12 +0000 (09:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 21:34:34 +0000 (16:34 -0500)
commit34c83ea78d5b1dd89f4019495c67b2bf6ad92be2
treeef8eb180ad164a68c56189632619e79b2bb7b62f
parent59eb4a114d47f8e5c05d6f3508dda836c2c2b556
tcp: out_of_order_queue do not use its lock

TCP out_of_order_queue lock is not used, as queue manipulation
happens with socket lock held and we therefore use the lockless
skb queue routines (as __skb_queue_head())

We can use __skb_queue_head_init() instead of skb_queue_head_init()
to make this more consistent.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_minisocks.c