diff options
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 08323bd95f2a..a756b8749a26 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -2329,10 +2329,9 @@ static void DBGUNDO(struct sock *sk, const char *msg) | |||
2329 | } | 2329 | } |
2330 | #if IS_ENABLED(CONFIG_IPV6) | 2330 | #if IS_ENABLED(CONFIG_IPV6) |
2331 | else if (sk->sk_family == AF_INET6) { | 2331 | else if (sk->sk_family == AF_INET6) { |
2332 | struct ipv6_pinfo *np = inet6_sk(sk); | ||
2333 | pr_debug("Undo %s %pI6/%u c%u l%u ss%u/%u p%u\n", | 2332 | pr_debug("Undo %s %pI6/%u c%u l%u ss%u/%u p%u\n", |
2334 | msg, | 2333 | msg, |
2335 | &np->daddr, ntohs(inet->inet_dport), | 2334 | &sk->sk_v6_daddr, ntohs(inet->inet_dport), |
2336 | tp->snd_cwnd, tcp_left_out(tp), | 2335 | tp->snd_cwnd, tcp_left_out(tp), |
2337 | tp->snd_ssthresh, tp->prior_ssthresh, | 2336 | tp->snd_ssthresh, tp->prior_ssthresh, |
2338 | tp->packets_out); | 2337 | tp->packets_out); |