[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>
This commit is contained in:
parent
f785a8e28b
commit
b08d6cb22c
3 changed files with 15 additions and 3 deletions
|
@ -348,6 +348,8 @@ struct tcp_sock {
|
|||
int lost_cnt_hint;
|
||||
int retransmit_cnt_hint;
|
||||
|
||||
u32 lost_retrans_low; /* Sent seq after any rxmit (lowest) */
|
||||
|
||||
u16 advmss; /* Advertised MSS */
|
||||
u16 prior_ssthresh; /* ssthresh saved at recovery start */
|
||||
u32 lost_out; /* Lost packets */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue