aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-08 22:33:23 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-12 22:28:22 -0400
commited53d0ab761f5c71d77c8dc05fd19c0a851200db (patch)
treee8020f7b24c958497a92b38fbf0dd89e99b8261e /net/ipv4/tcp_input.c
parent8e5eb54d303b7cb1174977ca79030e135728c95e (diff)
net: shrink struct sock and request_sock by 8 bytes
One 32bit hole is following skc_refcnt, use it. skc_incoming_cpu can also be an union for request_sock rcv_wnd. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index ddadb318e850..3b35c3f4d268 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -6022,7 +6022,7 @@ static void tcp_openreq_init(struct request_sock *req,
6022{ 6022{
6023 struct inet_request_sock *ireq = inet_rsk(req); 6023 struct inet_request_sock *ireq = inet_rsk(req);
6024 6024
6025 req->rcv_wnd = 0; /* So that tcp_send_synack() knows! */ 6025 req->rsk_rcv_wnd = 0; /* So that tcp_send_synack() knows! */
6026 req->cookie_ts = 0; 6026 req->cookie_ts = 0;
6027 tcp_rsk(req)->rcv_isn = TCP_SKB_CB(skb)->seq; 6027 tcp_rsk(req)->rcv_isn = TCP_SKB_CB(skb)->seq;
6028 tcp_rsk(req)->rcv_nxt = TCP_SKB_CB(skb)->seq + 1; 6028 tcp_rsk(req)->rcv_nxt = TCP_SKB_CB(skb)->seq + 1;