diff options
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index 167415677a75..a57fcbd7d03c 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -372,7 +372,7 @@ EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time); | |||
372 | 372 | ||
373 | int dccp_insert_option_timestamp(struct sock *sk, struct sk_buff *skb) | 373 | int dccp_insert_option_timestamp(struct sock *sk, struct sk_buff *skb) |
374 | { | 374 | { |
375 | __be32 now = htonl(((suseconds_t)ktime_to_us(ktime_get_real())) / 10); | 375 | __be32 now = htonl(dccp_timestamp()); |
376 | /* yes this will overflow but that is the point as we want a | 376 | /* yes this will overflow but that is the point as we want a |
377 | * 10 usec 32 bit timer which mean it wraps every 11.9 hours */ | 377 | * 10 usec 32 bit timer which mean it wraps every 11.9 hours */ |
378 | 378 | ||