Skip to content

Change cork to a pointer in sockets

Oliver Crumrine lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 of 17 patches 2 repliesIn review

16 of 17 patches are in this archive. The cover letter announces 17.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17Make cork in inet_sock a pointer.include/net/inet_sock.h+1 -11 reply
2/17Allocate and free cork for ipv4 and ipv6net/ipv4/af_inet.c+2 -00 replies
3/17Change cork in ipv6_pinfo to a pointer.include/linux/ipv6.h+1 -10 replies
4/17Allocate and free cork in inet6_sk.net/ipv6/af_inet6.c+5 -00 replies
5/17Change occurence of cork to pointerinclude/net/ip.h+1 -10 replies
6/17Update code for cork as a pointerinclude/net/ipv6.h+2 -20 replies
7/17Change occurences of cork to pointernet/ipv4/af_inet.c+2 -20 replies
8/17Update cork to pointernet/ipv4/datagram.c+1 -10 replies
9/17Change instances of cork to a pointernet/ipv4/inet_connection_sock.c+3 -30 replies
11/17Update occurences of cork to pointernet/ipv4/syncookies.c+1 -10 replies
12/17Change an occurence of cork to pointernet/ipv4/tcp_output.c+1 -10 replies
13/17Change some instances of cork to a pointernet/ipv4/udp.c+4 -40 replies
14/17Update usages of cork to a pointernet/ipv6/ip6_output.c+5 -50 replies
15/17Modify occurences of cork to make it a pointernet/ipv6/raw.c+2 -20 replies
16/17Change a usage of cork to pointernet/ipv6/udp.c+2 -20 replies
17/17Change the last instance of cork to pointernet/ipv4/tcp_ipv4.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 00/17] Change cork to a pointer in sockets

This patch changes the cork field of both the inet_sock and inet6_sk structs to a pointer, reducing their size.

Oliver Crumrine (17):
Make cork in inet_sock a pointer.
Allocate and free cork in inet_create and inet_release in file

    net/ipv4/af_inet.c
  Change cork in ipv6_pinfo to a pointer.
  Allocate and free cork in inet6_sk.
  Change occurence of cork in inet_sock to pointer in include/net/ip.h
  Since cork in inet_sock and inet6_sk will be a pointer, they don't
    need to be referenced in this function in include/net/ipv6.h
  Change occurences of cork in inet_sock to pointer in file
    net/ipv4/af_inet.c

Change occurence of cork to pointer in file net/ipv4/datagram.c Change instances of cork in net/ipv4/inet_connection_sock.c to
pointer.
Change instances of cork to pointer in net/ipv4/ip_output.c Update occurences of cork to pointer in net/ipv4/syncookies.c Change occurences of cork to pointer in net/ipv4/tcp_output.c Change instances of cork to a pointer in file net/ipv4/udp.c Update usages of cork in net/ipv6/ip6_output.c to pointer. Modify occurences of cork in net/ipv6/raw.c to use a pointer Change usages of cork to pointer in net/ipv6/udp.c Change instance of cork to pointer in net/ipv4/tcp_ipv4.c

 include/linux/ipv6.h            |  2 +-
 include/net/inet_sock.h         |  2 +-
 include/net/ip.h                |  2 +-
 include/net/ipv6.h              |  4 ++--
 net/ipv4/af_inet.c              |  6 ++++--
 net/ipv4/datagram.c             |  2 +-
 net/ipv4/inet_connection_sock.c |  6 +++---
 net/ipv4/ip_output.c            |  6 +++---
 net/ipv4/syncookies.c           |  2 +-
 net/ipv4/tcp_ipv4.c             |  2 +-
 net/ipv4/tcp_output.c           |  2 +-
 net/ipv4/udp.c                  |  8 ++++----
 net/ipv6/af_inet6.c             |  5 +++++
 net/ipv6/ip6_output.c           | 10 +++++-----
 net/ipv6/raw.c                  |  4 ++--
 net/ipv6/udp.c                  |  4 ++--
 16 files changed, 37 insertions(+), 30 deletions(-)
Signature · 1 line
2.42.0