This patch series makes changes to TCP/DCCP stacks so that we can switch listener code to lockless mode.
This is done by marking const the listener socket in all appropriate paths. FastOpen code had to be changed to not dynamically allocate a very small structure to make code simpler for following changes. Eric Dumazet (14): tcp/dccp: constify send_synack and send_reset socket argument tcp: remove unused len argument from tcp_rcv_state_process() tcp: remove tcp_rcv_state_process() tcp_hdr argument dccp: use inet6_csk_route_req() helper inet: constify inet_csk_route_child_sock() socket argument inet: constify __inet_inherit_port() sock argument net: constify sk_gfp_atomic() sock argument dccp: constify dccp_create_openreq_child() sock argument tcp: constify tcp_create_openreq_child() socket argument tcp/dccp: constify syn_recv_sock() method sock argument tcp: cookie_init_sequence() cleanups tcp: constify tcp_v{4|6}_route_req() sock argument tcp: constify tcp_syn_flood_action() socket argument tcp: prepare fastopen code for upcoming listener changes include/linux/tcp.h | 22 ++++------------------ include/net/inet6_connection_sock.h | 2 +- include/net/inet_connection_sock.h | 5 +++-- include/net/inet_hashtables.h | 2 +- include/net/request_sock.h | 16 ++++++---------- include/net/sock.h | 2 +- include/net/tcp.h | 28 ++++++++++++++-------------- net/core/request_sock.c | 9 ++++++++- net/dccp/dccp.h | 6 +++--- net/dccp/ipv4.c | 5 +++-- net/dccp/ipv6.c | 24 +++++++----------------- net/dccp/minisocks.c | 4 ++-- net/ipv4/af_inet.c | 10 +++------- net/ipv4/inet_connection_sock.c | 19 +++++++++---------- net/ipv4/inet_hashtables.c | 2 +- net/ipv4/syncookies.c | 6 +----- net/ipv4/tcp.c | 14 ++------------ net/ipv4/tcp_fastopen.c | 10 +++++----- net/ipv4/tcp_input.c | 17 +++++++++-------- net/ipv4/tcp_ipv4.c | 13 +++++++------ net/ipv4/tcp_minisocks.c | 7 ++++--- net/ipv6/inet6_connection_sock.c | 8 +++++--- net/ipv6/syncookies.c | 5 +---- net/ipv6/tcp_ipv6.c | 33 ++++++++++++++++++--------------- 24 files changed, 118 insertions(+), 151 deletions(-) -- 2.6.0.rc2.230.g3dd15c0 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html