diff options
| author | Eric Dumazet <[email protected]> | 2015-10-02 18:43:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-03 11:32:36 +0000 |
| commit | aac065c50aba0c534a929aeb687eb68c58e523b8 (patch) | |
| tree | b8817f56e96322e7c855653fe63eced1256c8356 /net/ipv6/tcp_ipv6.c | |
| parent | tcp: add a spinlock to protect struct request_sock_queue (diff) | |
| download | kernel-aac065c50aba0c534a929aeb687eb68c58e523b8.tar.gz kernel-aac065c50aba0c534a929aeb687eb68c58e523b8.zip | |
tcp: move qlen/young out of struct listen_sock
qlen_inc & young_inc were protected by listener lock,
while qlen_dec & young_dec were atomic fields.
Everything needs to be atomic for upcoming lockless listener.
Also move qlen/young in request_sock_queue as we'll get rid
of struct listen_sock eventually.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
