diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index c53b7f35c51d..65cf90e063d5 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -766,7 +766,7 @@ static void tcp_update_pacing_rate(struct sock *sk) | |||
766 | /* Calculate rto without backoff. This is the second half of Van Jacobson's | 766 | /* Calculate rto without backoff. This is the second half of Van Jacobson's |
767 | * routine referred to above. | 767 | * routine referred to above. |
768 | */ | 768 | */ |
769 | void tcp_set_rto(struct sock *sk) | 769 | static void tcp_set_rto(struct sock *sk) |
770 | { | 770 | { |
771 | const struct tcp_sock *tp = tcp_sk(sk); | 771 | const struct tcp_sock *tp = tcp_sk(sk); |
772 | /* Old crap is replaced with new one. 8) | 772 | /* Old crap is replaced with new one. 8) |
@@ -3686,7 +3686,7 @@ const u8 *tcp_parse_md5sig_option(const struct tcphdr *th) | |||
3686 | int opcode = *ptr++; | 3686 | int opcode = *ptr++; |
3687 | int opsize; | 3687 | int opsize; |
3688 | 3688 | ||
3689 | switch(opcode) { | 3689 | switch (opcode) { |
3690 | case TCPOPT_EOL: | 3690 | case TCPOPT_EOL: |
3691 | return NULL; | 3691 | return NULL; |
3692 | case TCPOPT_NOP: | 3692 | case TCPOPT_NOP: |
@@ -4046,7 +4046,7 @@ static void tcp_sack_remove(struct tcp_sock *tp) | |||
4046 | WARN_ON(before(tp->rcv_nxt, sp->end_seq)); | 4046 | WARN_ON(before(tp->rcv_nxt, sp->end_seq)); |
4047 | 4047 | ||
4048 | /* Zap this SACK, by moving forward any other SACKS. */ | 4048 | /* Zap this SACK, by moving forward any other SACKS. */ |
4049 | for (i=this_sack+1; i < num_sacks; i++) | 4049 | for (i = this_sack+1; i < num_sacks; i++) |
4050 | tp->selective_acks[i-1] = tp->selective_acks[i]; | 4050 | tp->selective_acks[i-1] = tp->selective_acks[i]; |
4051 | num_sacks--; | 4051 | num_sacks--; |
4052 | continue; | 4052 | continue; |