Skip to content

Commit ad8bb78

Browse files
acmeldavem330
authored andcommitted
[INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes
/home/acme/git/net-2.6/net/ipv6/tcp_ipv6.c: struct inet_timewait_sock | -8 struct tcp_timewait_sock | -8 2 structs changed tcp_v6_rcv | -6 1 function changed, 6 bytes removed, diff: -6 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent cf6b5fb commit ad8bb78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/net/inet_timewait_sock.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ struct inet_timewait_sock {
116116
#define tw_hash __tw_common.skc_hash
117117
#define tw_prot __tw_common.skc_prot
118118
#define tw_net __tw_common.skc_net
119+
int tw_timeout;
119120
volatile unsigned char tw_substate;
120121
/* 3 bits hole, try to pack */
121122
unsigned char tw_rcv_wscale;
@@ -130,7 +131,6 @@ struct inet_timewait_sock {
130131
__u8 tw_ipv6only:1;
131132
/* 15 bits hole, try to pack */
132133
__u16 tw_ipv6_offset;
133-
int tw_timeout;
134134
unsigned long tw_ttd;
135135
struct inet_bind_bucket *tw_tb;
136136
struct hlist_node tw_death_node;

0 commit comments

Comments
 (0)