summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-03-21 18:05:54 +0000
committerandre <andre@FreeBSD.org>2007-03-21 18:05:54 +0000
commit77fcda08c7d320fff27e99d3a46c16ead2b74187 (patch)
treea000d55d110721e45de1d87bbc0dd4551a416554 /sys/netinet/tcp.h
parenta78439a831c5853d2e9529e657c274d244af3ad5 (diff)
downloadFreeBSD-src-77fcda08c7d320fff27e99d3a46c16ead2b74187.zip
FreeBSD-src-77fcda08c7d320fff27e99d3a46c16ead2b74187.tar.gz
Remove tcp_minmssoverload DoS detection logic. The problem it tried to
protect us from wasn't really there and it only bloats the code. Should the problem surface in the future we can simply resurrect it from cvs history.
Diffstat (limited to 'sys/netinet/tcp.h')
-rw-r--r--sys/netinet/tcp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h
index 3f744fb..048c63e 100644
--- a/sys/netinet/tcp.h
+++ b/sys/netinet/tcp.h
@@ -124,14 +124,6 @@ struct tcphdr {
* Setting this to "0" disables the minmss check.
*/
#define TCP_MINMSS 216
-/*
- * TCP_MINMSSOVERLOAD is defined to be 1000 which should cover any type
- * of interactive TCP session.
- * See tcp_subr.c tcp_minmssoverload SYSCTL declaration and tcp_input.c
- * for more comments.
- * Setting this to "0" disables the minmssoverload check.
- */
-#define TCP_MINMSSOVERLOAD 0 /* XXX: Disabled until refined */
/*
* Default maximum segment size for TCP6.
OpenPOWER on IntegriCloud