diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-09-26 01:40:13 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:35 -0400 |
commit | 4c70f383e0c0273c4092c4efdb414be0966978b7 (patch) | |
tree | 733cc2497ec68c74d42ed6d8f6978b24152a3de0 /net/dccp/proto.c | |
parent | aa97efd97acefb7d3dcd864adb878c7ce34061b3 (diff) |
[DCCP]: Provide 10s of microsecond timesource
This provides a timesource, conveniently used for DCCP timestamps, which
returns the elapsed time in 10s of microseconds since initialisation.
This makes for a wrap-around time of about 11.9 hours, which should be
sufficient for most applications.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r-- | net/dccp/proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 8d545da35262..14ec1d21452c 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
@@ -1076,6 +1076,8 @@ static int __init dccp_init(void) | |||
1076 | rc = dccp_sysctl_init(); | 1076 | rc = dccp_sysctl_init(); |
1077 | if (rc) | 1077 | if (rc) |
1078 | goto out_ackvec_exit; | 1078 | goto out_ackvec_exit; |
1079 | |||
1080 | dccp_timestamping_init(); | ||
1079 | out: | 1081 | out: |
1080 | return rc; | 1082 | return rc; |
1081 | out_ackvec_exit: | 1083 | out_ackvec_exit: |