summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-11-11 00:01:14 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:22:14 +0100
commit2404043a665a9f4c748ab81eef29c76b3e443801 (patch)
tree040cb6db0fdcdbe42cb48ba9d0098caebe69ac78 /net/ipv4/tcp_htcp.c
parent[IPv6]: Only modify checksum for UDP (diff)
downloadlinux-2404043a665a9f4c748ab81eef29c76b3e443801.tar.xz
linux-2404043a665a9f4c748ab81eef29c76b3e443801.zip
[TCP] htcp: Better packing of struct htcp.
Based upon a patch by Joe Perches. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
-rw-r--r--net/ipv4/tcp_htcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_htcp.c b/net/ipv4/tcp_htcp.c
index 283be3cb4667..753987a1048f 100644
--- a/net/ipv4/tcp_htcp.c
+++ b/net/ipv4/tcp_htcp.c
@@ -26,12 +26,12 @@ struct htcp {
u32 alpha; /* Fixed point arith, << 7 */
u8 beta; /* Fixed point arith, << 7 */
u8 modeswitch; /* Delay modeswitch until we had at least one congestion event */
- u32 last_cong; /* Time since last congestion event end */
- u32 undo_last_cong;
u16 pkts_acked;
u32 packetcount;
u32 minRTT;
u32 maxRTT;
+ u32 last_cong; /* Time since last congestion event end */
+ u32 undo_last_cong;
u32 undo_maxRTT;
u32 undo_old_maxB;