tcp: fix a compile error in DBGUNDO()
authorEric Dumazet <edumazet@google.com>
Fri, 23 Sep 2016 00:54:00 +0000 (17:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 06:46:36 +0000 (07:46 +0100)
commitaadcd6a96010ce933c96d97a0c086a4da6110eec
tree2421bc4da3f77c77fd827d132a72f7771870ca44
parentac40148543c5f04093c95462861cf49cf9af5648
tcp: fix a compile error in DBGUNDO()

[ Upstream commit 019b1c9fe32a2a32c1153e31375f87ec3e591273 ]

If DBGUNDO() is enabled (FASTRETRANS_DEBUG > 1), a compile
error will happen, since inet6_sk(sk)->daddr became sk->sk_v6_daddr

Fixes: efe4208f47f9 ("ipv6: make lookups simpler and faster")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_input.c