Skip to contentSkip to conversation

: Reorganize struct dccp_sock to save 8 bytes

PATCH In review Arnaldo Carvalho de Melo 1 participant 1 message Jan 31, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/6 : Reorganize struct dccp_sock to save 8 bytes

/home/acme/git/net-2.6/net/dccp/ipv6.c:

  struct dccp_sock  |   -8
  struct dccp6_sock |   -8

2 structs changed

---
 include/linux/dccp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/dccp.h +1 -1
index 484e45c..aa07370 100644
@@ -525,6 +525,7 @@ struct dccp_sock {
 	__u64				dccps_gsr;
 	__u64				dccps_gar;
 	__be32				dccps_service;
+	__u32				dccps_mss_cache;
 	struct dccp_service_list	*dccps_service_list;
 	__u32				dccps_timestamp_echo;
 	__u32				dccps_timestamp_time;
@@ -533,7 +534,6 @@ struct dccp_sock {
 	__u16				dccps_pcslen;
 	__u16				dccps_pcrlen;
 	unsigned long			dccps_ndp_count;
-	__u32				dccps_mss_cache;
 	unsigned long			dccps_rate_last;
 	struct dccp_minisock		dccps_minisock;
 	struct dccp_ackvec		*dccps_hc_rx_ackvec;
Signature · 1 line
1.5.3.8