inet_diag: use jiffies_delta_to_msecs()
authorEric Dumazet <edumazet@google.com>
Tue, 5 Nov 2019 22:11:50 +0000 (14:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 00:14:48 +0000 (16:14 -0800)
commit3828a93f5cfdf5d8a4ff9dead741e9a2871ff57b
treef6c72416d347ef456190f646f138606588a9bfe9
parent9d027e3a83f39b819e908e4e09084277a2e45e95
inet_diag: use jiffies_delta_to_msecs()

Use jiffies_delta_to_msecs() to avoid reporting 'infinite'
timeouts and to cleanup code.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c