diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:32:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:32:06 -0500 |
commit | 2d0817d11eaec57435feb61493331a763f732a2b (patch) | |
tree | 7c42229b1cc64e67efe8ed21b82cdc513e638f82 /net/dccp/dccp.h | |
parent | 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b (diff) |
[DCCP] options: Make dccp_insert_options & friends yell on error
And not the silly LIMIT_NETDEBUG and silently return without inserting
the option requested.
Also drop some old debugging messages associated to option insertion.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 7f5be0822f3a..34e70fb89d4a 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -326,13 +326,13 @@ static inline int dccp_ack_pending(const struct sock *sk) | |||
326 | inet_csk_ack_scheduled(sk); | 326 | inet_csk_ack_scheduled(sk); |
327 | } | 327 | } |
328 | 328 | ||
329 | extern void dccp_insert_options(struct sock *sk, struct sk_buff *skb); | 329 | extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); |
330 | extern void dccp_insert_option_elapsed_time(struct sock *sk, | 330 | extern int dccp_insert_option_elapsed_time(struct sock *sk, |
331 | struct sk_buff *skb, | 331 | struct sk_buff *skb, |
332 | u32 elapsed_time); | 332 | u32 elapsed_time); |
333 | extern void dccp_insert_option_timestamp(struct sock *sk, | 333 | extern int dccp_insert_option_timestamp(struct sock *sk, |
334 | struct sk_buff *skb); | 334 | struct sk_buff *skb); |
335 | extern void dccp_insert_option(struct sock *sk, struct sk_buff *skb, | 335 | extern int dccp_insert_option(struct sock *sk, struct sk_buff *skb, |
336 | unsigned char option, | 336 | unsigned char option, |
337 | const void *value, unsigned char len); | 337 | const void *value, unsigned char len); |
338 | 338 | ||