[TIPC]: Improve socket time conversions
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 14 Apr 2008 04:35:11 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 04:35:11 +0000 (21:35 -0700)
commit3654ea02f2819cf8821c0acd35bc7cded5f1f2a9
treed2bea8de80c3da3853160937560d30cfdfc23e02
parent9673693284763417ea5edcdebc1a0c5d1dead51c
[TIPC]: Improve socket time conversions

This patch modifies TIPC's socket code to use standard kernel
routines to handle time conversions between jiffies and ms.
This ensures proper operation even when HZ isn't 1000.

Acknowledgements to Eric Sesterhenn <snakebyte@gmx.de> for
identifying this issue and proposing a solution.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c