summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-11-10 15:01:14 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:22:14 -0800
commit2404043a665a9f4c748ab81eef29c76b3e443801 (patch)
tree040cb6db0fdcdbe42cb48ba9d0098caebe69ac78 /net/ipv4
parentd3a1be9cba86c4385a5fe46673bbb4730551f454 (diff)
downloadop-kernel-dev-2404043a665a9f4c748ab81eef29c76b3e443801.zip
op-kernel-dev-2404043a665a9f4c748ab81eef29c76b3e443801.tar.gz
[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')
-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 283be3c..753987a 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;
OpenPOWER on IntegriCloud