diff options
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index 92718511eac..d4b1ae0daac 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -369,7 +369,7 @@ int dccp_insert_option_elapsed_time(struct sk_buff *skb, u32 elapsed_time) | |||
369 | 369 | ||
370 | EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time); | 370 | EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time); |
371 | 371 | ||
372 | int dccp_insert_option_timestamp(struct sk_buff *skb) | 372 | static int dccp_insert_option_timestamp(struct sk_buff *skb) |
373 | { | 373 | { |
374 | __be32 now = htonl(dccp_timestamp()); | 374 | __be32 now = htonl(dccp_timestamp()); |
375 | /* yes this will overflow but that is the point as we want a | 375 | /* yes this will overflow but that is the point as we want a |
@@ -378,8 +378,6 @@ int dccp_insert_option_timestamp(struct sk_buff *skb) | |||
378 | return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now)); | 378 | return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now)); |
379 | } | 379 | } |
380 | 380 | ||
381 | EXPORT_SYMBOL_GPL(dccp_insert_option_timestamp); | ||
382 | |||
383 | static int dccp_insert_option_timestamp_echo(struct dccp_sock *dp, | 381 | static int dccp_insert_option_timestamp_echo(struct dccp_sock *dp, |
384 | struct dccp_request_sock *dreq, | 382 | struct dccp_request_sock *dreq, |
385 | struct sk_buff *skb) | 383 | struct sk_buff *skb) |