aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 100b242135b1..eb97787be757 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -981,12 +981,12 @@ static void tcp_update_reordering(struct sock *sk, const int metric,
981 981
982 NET_INC_STATS_BH(sock_net(sk), mib_idx); 982 NET_INC_STATS_BH(sock_net(sk), mib_idx);
983#if FASTRETRANS_DEBUG > 1 983#if FASTRETRANS_DEBUG > 1
984 printk(KERN_DEBUG "Disorder%d %d %u f%u s%u rr%d\n", 984 pr_debug("Disorder%d %d %u f%u s%u rr%d\n",
985 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, 985 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state,
986 tp->reordering, 986 tp->reordering,
987 tp->fackets_out, 987 tp->fackets_out,
988 tp->sacked_out, 988 tp->sacked_out,
989 tp->undo_marker ? tp->undo_retrans : 0); 989 tp->undo_marker ? tp->undo_retrans : 0);
990#endif 990#endif
991 tcp_disable_fack(tp); 991 tcp_disable_fack(tp);
992 } 992 }
@@ -2716,22 +2716,22 @@ static void DBGUNDO(struct sock *sk, const char *msg)
2716 struct inet_sock *inet = inet_sk(sk); 2716 struct inet_sock *inet = inet_sk(sk);
2717 2717
2718 if (sk->sk_family == AF_INET) { 2718 if (sk->sk_family == AF_INET) {
2719 printk(KERN_DEBUG "Undo %s %pI4/%u c%u l%u ss%u/%u p%u\n", 2719 pr_debug("Undo %s %pI4/%u c%u l%u ss%u/%u p%u\n",
2720 msg, 2720 msg,
2721 &inet->inet_daddr, ntohs(inet->inet_dport), 2721 &inet->inet_daddr, ntohs(inet->inet_dport),
2722 tp->snd_cwnd, tcp_left_out(tp), 2722 tp->snd_cwnd, tcp_left_out(tp),
2723 tp->snd_ssthresh, tp->prior_ssthresh, 2723 tp->snd_ssthresh, tp->prior_ssthresh,
2724 tp->packets_out); 2724 tp->packets_out);
2725 } 2725 }
2726#if IS_ENABLED(CONFIG_IPV6) 2726#if IS_ENABLED(CONFIG_IPV6)
2727 else if (sk->sk_family == AF_INET6) { 2727 else if (sk->sk_family == AF_INET6) {
2728 struct ipv6_pinfo *np = inet6_sk(sk); 2728 struct ipv6_pinfo *np = inet6_sk(sk);
2729 printk(KERN_DEBUG "Undo %s %pI6/%u c%u l%u ss%u/%u p%u\n", 2729 pr_debug("Undo %s %pI6/%u c%u l%u ss%u/%u p%u\n",
2730 msg, 2730 msg,
2731 &np->daddr, ntohs(inet->inet_dport), 2731 &np->daddr, ntohs(inet->inet_dport),
2732 tp->snd_cwnd, tcp_left_out(tp), 2732 tp->snd_cwnd, tcp_left_out(tp),
2733 tp->snd_ssthresh, tp->prior_ssthresh, 2733 tp->snd_ssthresh, tp->prior_ssthresh,
2734 tp->packets_out); 2734 tp->packets_out);
2735 } 2735 }
2736#endif 2736#endif
2737} 2737}
@@ -3511,18 +3511,18 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets,
3511 if (!tp->packets_out && tcp_is_sack(tp)) { 3511 if (!tp->packets_out && tcp_is_sack(tp)) {
3512 icsk = inet_csk(sk); 3512 icsk = inet_csk(sk);
3513 if (tp->lost_out) { 3513 if (tp->lost_out) {
3514 printk(KERN_DEBUG "Leak l=%u %d\n", 3514 pr_debug("Leak l=%u %d\n",
3515 tp->lost_out, icsk->icsk_ca_state); 3515 tp->lost_out, icsk->icsk_ca_state);
3516 tp->lost_out = 0; 3516 tp->lost_out = 0;
3517 } 3517 }
3518 if (tp->sacked_out) { 3518 if (tp->sacked_out) {
3519 printk(KERN_DEBUG "Leak s=%u %d\n", 3519 pr_debug("Leak s=%u %d\n",
3520 tp->sacked_out, icsk->icsk_ca_state); 3520 tp->sacked_out, icsk->icsk_ca_state);
3521 tp->sacked_out = 0; 3521 tp->sacked_out = 0;
3522 } 3522 }
3523 if (tp->retrans_out) { 3523 if (tp->retrans_out) {
3524 printk(KERN_DEBUG "Leak r=%u %d\n", 3524 pr_debug("Leak r=%u %d\n",
3525 tp->retrans_out, icsk->icsk_ca_state); 3525 tp->retrans_out, icsk->icsk_ca_state);
3526 tp->retrans_out = 0; 3526 tp->retrans_out = 0;
3527 } 3527 }
3528 } 3528 }