inet: cache listen_sock_qlen() and read rskq_defer_accept once
authorEric Dumazet <edumazet@google.com>
Sun, 22 Mar 2015 17:22:18 +0000 (10:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Mar 2015 20:52:25 +0000 (16:52 -0400)
commit2b41fab70fc001d2acd89c0477d32feb8265bb32
tree1597c834b5bc63933f5d3d1d62612319280e3fd0
parentc9231f8247f5676a8dedd66efc6d89af99518530
inet: cache listen_sock_qlen() and read rskq_defer_accept once

Cache listen_sock_qlen() to limit false sharing, and read
rskq_defer_accept once as it might change under us.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c