aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 990a58493235..de54f02f10a9 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -432,7 +432,7 @@ static void tcp_options_write(__be32 *ptr, struct tcp_sock *tp,
432 432
433 if (tp->rx_opt.dsack) { 433 if (tp->rx_opt.dsack) {
434 tp->rx_opt.dsack = 0; 434 tp->rx_opt.dsack = 0;
435 tp->rx_opt.eff_sacks--; 435 tp->rx_opt.eff_sacks = tp->rx_opt.num_sacks;
436 } 436 }
437 } 437 }
438} 438}