diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-12 18:16:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-14 15:24:26 -0400 |
commit | c72e118334a2590f4f07d9e51490b902c33f5280 (patch) | |
tree | d8974faaaf6afa5afe2b771e3a5390ee6ec97c21 /include | |
parent | fd4f2cead6983735a4e6283126b9276873d7ff09 (diff) |
inet: makes syn_ack_timeout mandatory
There are two struct request_sock_ops providers, tcp and dccp.
inet_csk_reqsk_queue_prune() can avoid testing syn_ack_timeout being
NULL if we make it non NULL like syn_ack_timeout
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Cc: dccp@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dccp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index eaf95a023af4..d16294e2a118 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -549,6 +549,8 @@ static inline const char *dccp_role(const struct sock *sk) | |||
549 | return NULL; | 549 | return NULL; |
550 | } | 550 | } |
551 | 551 | ||
552 | extern void dccp_syn_ack_timeout(struct sock *sk, struct request_sock *req); | ||
553 | |||
552 | #endif /* __KERNEL__ */ | 554 | #endif /* __KERNEL__ */ |
553 | 555 | ||
554 | #endif /* _LINUX_DCCP_H */ | 556 | #endif /* _LINUX_DCCP_H */ |