Message ID | 12358322831223-git-send-email-ilpo.jarvinen@helsinki.fi |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
From: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi> Date: Sat, 28 Feb 2009 16:44:40 +0200 > From: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> > > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> I skipped this for the same reason I skipped patch #14. This could be there to avoid dirtying that part of the structure when it isn't necessary. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 464c8a4..071917d 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -4248,8 +4248,7 @@ static void tcp_sack_remove(struct tcp_sock *tp) this_sack++; sp++; } - if (num_sacks != tp->rx_opt.num_sacks) - tp->rx_opt.num_sacks = num_sacks; + tp->rx_opt.num_sacks = num_sacks; } /* This one checks to see if we can put data from the