Skip to content

unify control socket usage for protocols

Denis V. Lunev containers netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11: Replace socket with sock for reset sending.net/ipv4/tcp_ipv4.c+6 -40 replies
2/11: Replace socket with sock for reset sending.net/dccp/ipv4.c net/dccp/ipv6.c+15 -112 replies
3/11: dccp_v(4|6)_ctl_socket is leaked.net/dccp/ipv4.c net/dccp/ipv6.c+2 -05 replies
4/11: Use inet_csk_ctl_sock_create for control socket creation.net/sctp/protocol.c+2 -50 replies
5/11: Replace socket with sock for sctp_ctl_sock.net/sctp/protocol.c+7 -50 replies
6/11: Let inet_csk_ctl_sock_create return sock rather than socket.include/net/inet_connection_sock.h net/dccp/ipv4.c net/dccp/ipv6.c +4 more+16 -250 replies
7/11: Simplify ICMP control socket creation.net/ipv4/icmp.c+5 -181 reply
8/11: uc_ttl assignment in inet_csk_ctl_sock_create is extra.net/ipv4/inet_connection_sock.c+0 -10 replies
9/11: Simplify IPv6 control socket creation.net/ipv6/icmp.c net/ipv6/mcast.c net/ipv6/ndisc.c+7 -170 replies
10/11: Create tcp control socket in the each namespace.include/net/netns/ipv4.h net/ipv4/tcp_ipv4.c+25 -20 replies
11/11: Use TCP control socket from a correct namespace.net/ipv4/tcp_ipv4.c+4 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11 net-2.6.16] unify control socket usage for protocols

Hello, Dave!

This set provides a unification for control socket usage/creation for all protocols. The idea is to use sock rather than socket all around the protocols. (This has been partly done previously for ICMP/IPv6 staff).

Additionally, the creation of such a sockets now performed uniformly via inet_csk_ctl_sock_create.

After that TCP control socket is created and used on a per/namespace basis.

Regards,
Den

P.S. This set includes the patch discussed yesterday with Vlad Yasevich.