tcp: kill eff_sacks "cache", the sole user can calculate itself
Also fixes insignificant bug that would cause sending of stale SACK block (would occur in some corner cases). 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
758ce5c8d1
commit
cabeccbd17
5 changed files with 9 additions and 23 deletions
|
@ -926,7 +926,6 @@ extern void tcp_done(struct sock *sk);
|
|||
static inline void tcp_sack_reset(struct tcp_options_received *rx_opt)
|
||||
{
|
||||
rx_opt->dsack = 0;
|
||||
rx_opt->eff_sacks = 0;
|
||||
rx_opt->num_sacks = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue