lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1443537772-15305-1-git-send-email-edumazet@google.com>
Date:	Tue, 29 Sep 2015 07:42:38 -0700
From:	Eric Dumazet <edumazet@...gle.com>
To:	"David S . Miller" <davem@...emloft.net>
Cc:	netdev <netdev@...r.kernel.org>,
	Eric Dumazet <edumazet@...gle.com>,
	Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 00/14] tcp: listener refactoring preparations

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ