summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2007-04-20 14:34:54 +0000
committerAndre Oppermann <andre@FreeBSD.org>2007-04-20 14:34:54 +0000
commit4d6e713043a29568ea07e2a495cd0096d11be42a (patch)
treed50ed633523d6e403506f6bc0e65d631b328c6cf /sys/netinet/tcp_syncache.c
parente207f800392a350bd09109fc07d767a1a6e520dd (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 6d1d1a208f7f..881495af0d01 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -832,7 +832,7 @@ failed:
* consume all available buffer space if it were ACKed. By not ACKing
* the data, we avoid this DoS scenario.
*/
-int
+void
syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
struct inpcb *inp, struct socket **lsop, struct mbuf *m)
{
@@ -1079,7 +1079,7 @@ done:
#endif
*lsop = NULL;
m_freem(m);
- return (1);
+ return;
}
static int