]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd82c16be6a8bb2ee2398fcce381b719d9225bffd
treed2bea8de80c3da3853160937560d30cfdfc23e02
parenta70123fb69660763d0f0acd481d971e4fca52b33
[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