summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-11-11 02:01:14 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 08:22:14 +0300
commit2404043a665a9f4c748ab81eef29c76b3e443801 (patch)
tree040cb6db0fdcdbe42cb48ba9d0098caebe69ac78 /net/ipv4/tcp_htcp.c
parentd3a1be9cba86c4385a5fe46673bbb4730551f454 (diff)
downloadlinux-2404043a665a9f4c748ab81eef29c76b3e443801.tar.xz
[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;