[TCP] htcp: Better packing of struct htcp.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 10 Nov 2006 23:01:14 +0000 (15:01 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:14 +0000 (21:22 -0800)
Based upon a patch by Joe Perches.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_htcp.c

index 283be3c..753987a 100644 (file)
@@ -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;