diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-10-11 20:36:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-11 20:36:13 -0400 |
commit | b08d6cb22c777c8c91c16d8e3b8aafc93c98cbd9 (patch) | |
tree | 139b1f2636c42698bd7b0f0ccd61f0e1b8a826ab /include/linux/tcp.h | |
parent | f785a8e28b9d103c7473655743b6ac1bc3cd3a58 (diff) |
[TCP]: Limit processing lost_retrans loop to work-to-do cases
This addition of lost_retrans_low to tcp_sock might be
unnecessary, it's not clear how often lost_retrans worker is
executed when there wasn't work to do.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 9ff456e8d6c7..c5b94c1a5ee2 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -348,6 +348,8 @@ struct tcp_sock { | |||
348 | int lost_cnt_hint; | 348 | int lost_cnt_hint; |
349 | int retransmit_cnt_hint; | 349 | int retransmit_cnt_hint; |
350 | 350 | ||
351 | u32 lost_retrans_low; /* Sent seq after any rxmit (lowest) */ | ||
352 | |||
351 | u16 advmss; /* Advertised MSS */ | 353 | u16 advmss; /* Advertised MSS */ |
352 | u16 prior_ssthresh; /* ssthresh saved at recovery start */ | 354 | u16 prior_ssthresh; /* ssthresh saved at recovery start */ |
353 | u32 lost_out; /* Lost packets */ | 355 | u32 lost_out; /* Lost packets */ |