Loading include/net/tcp.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -761,8 +761,6 @@ static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) return tp->packets_out - tcp_left_out(tp) + tp->retrans_out; return tp->packets_out - tcp_left_out(tp) + tp->retrans_out; } } extern int tcp_limit_reno_sacked(struct tcp_sock *tp); /* If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd. /* If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd. * The exception is rate halving phase, when cwnd is decreasing towards * The exception is rate halving phase, when cwnd is decreasing towards * ssthresh. * ssthresh. Loading net/ipv4/tcp_input.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1940,7 +1940,7 @@ out: /* Limits sacked_out so that sum with lost_out isn't ever larger than /* Limits sacked_out so that sum with lost_out isn't ever larger than * packets_out. Returns zero if sacked_out adjustement wasn't necessary. * packets_out. Returns zero if sacked_out adjustement wasn't necessary. */ */ int tcp_limit_reno_sacked(struct tcp_sock *tp) static int tcp_limit_reno_sacked(struct tcp_sock *tp) { { u32 holes; u32 holes; Loading Loading
include/net/tcp.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -761,8 +761,6 @@ static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) return tp->packets_out - tcp_left_out(tp) + tp->retrans_out; return tp->packets_out - tcp_left_out(tp) + tp->retrans_out; } } extern int tcp_limit_reno_sacked(struct tcp_sock *tp); /* If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd. /* If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd. * The exception is rate halving phase, when cwnd is decreasing towards * The exception is rate halving phase, when cwnd is decreasing towards * ssthresh. * ssthresh. Loading
net/ipv4/tcp_input.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1940,7 +1940,7 @@ out: /* Limits sacked_out so that sum with lost_out isn't ever larger than /* Limits sacked_out so that sum with lost_out isn't ever larger than * packets_out. Returns zero if sacked_out adjustement wasn't necessary. * packets_out. Returns zero if sacked_out adjustement wasn't necessary. */ */ int tcp_limit_reno_sacked(struct tcp_sock *tp) static int tcp_limit_reno_sacked(struct tcp_sock *tp) { { u32 holes; u32 holes; Loading