diff options
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 4b85e6f636c9..af07b5b23ebf 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c | |||
@@ -374,9 +374,8 @@ void tcp_retransmit_timer(struct sock *sk) | |||
374 | } | 374 | } |
375 | #if IS_ENABLED(CONFIG_IPV6) | 375 | #if IS_ENABLED(CONFIG_IPV6) |
376 | else if (sk->sk_family == AF_INET6) { | 376 | else if (sk->sk_family == AF_INET6) { |
377 | struct ipv6_pinfo *np = inet6_sk(sk); | ||
378 | LIMIT_NETDEBUG(KERN_DEBUG pr_fmt("Peer %pI6:%u/%u unexpectedly shrunk window %u:%u (repaired)\n"), | 377 | LIMIT_NETDEBUG(KERN_DEBUG pr_fmt("Peer %pI6:%u/%u unexpectedly shrunk window %u:%u (repaired)\n"), |
379 | &np->daddr, | 378 | &sk->sk_v6_daddr, |
380 | ntohs(inet->inet_dport), inet->inet_num, | 379 | ntohs(inet->inet_dport), inet->inet_num, |
381 | tp->snd_una, tp->snd_nxt); | 380 | tp->snd_una, tp->snd_nxt); |
382 | } | 381 | } |