tcp: fix get_timewait4_sock() delay computation on 64bit
authorEric Dumazet <edumazet@google.com>
Thu, 27 Mar 2014 14:19:19 +0000 (07:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2014 20:43:14 +0000 (16:43 -0400)
commite2a1d3e47bb904082b758dec9d07edf241c45d05
tree5ed95c32972d85fd1e452ca1572c261ad7e94f0e
parent4f647e0a3c37b8d5086214128614a136064110c3
tcp: fix get_timewait4_sock() delay computation on 64bit

It seems I missed one change in get_timewait4_sock() to compute
the remaining time before deletion of IPV4 timewait socket.

This could result in wrong output in /proc/net/tcp for tm->when field.

Fixes: 96f817fedec4 ("tcp: shrink tcp6_timewait_sock by one cache line")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c