summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2010-09-16 12:13:06 +0000
committerandre <andre@FreeBSD.org>2010-09-16 12:13:06 +0000
commita170307205b7b1030786eed8dec7d80c04f9f7d0 (patch)
treee74010d3f4611d166865e5b59d49145211fc0df7 /sys/netinet
parentaf982c87f758e8ab2391033c0f21bf29f99180ce (diff)
downloadFreeBSD-src-a170307205b7b1030786eed8dec7d80c04f9f7d0.zip
FreeBSD-src-a170307205b7b1030786eed8dec7d80c04f9f7d0.tar.gz
Improve comment to TCP_MINMSS by taking the wording from lstewart (with
a small difference in the last paragraph though) as suggested by jhb. Clarify that the 'reviewed by' in r212653 by lstewart was for the functional change, not the comments in the committed version.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h
index 86c9548..27d45aa 100644
--- a/sys/netinet/tcp.h
+++ b/sys/netinet/tcp.h
@@ -120,18 +120,18 @@ struct tcphdr {
#define TCP6_MSS 1220
/*
- * Limit the lowest MSS we accept from path MTU discovery and the TCP SYN MSS
- * option. Allowing too low values of MSS can consume significant amounts of
- * resources and be used as a form of a resource exhaustion attack.
+ * Limit the lowest MSS we accept for path MTU discovery and the TCP SYN MSS
+ * option. Allowing low values of MSS can consume significant resources and
+ * be used to mount a resource exhaustion attack.
* Connections requesting lower MSS values will be rounded up to this value
- * and the IP_DF flag is cleared to allow fragmentation along the path.
+ * and the IP_DF flag will be cleared to allow fragmentation along the path.
*
* See tcp_subr.c tcp_minmss SYSCTL declaration for more comments. Setting
* it to "0" disables the minmss check.
*
- * The default value is fine for the smallest official link MTU (256 bytes,
- * AX.25 packet radio) in the Internet. However it is very unlikely to come
- * across such low MTU interfaces these days (anno domini 2003).
+ * The default value is fine for TCP across the Internet's smallest official
+ * link MTU (256 bytes for AX.25 packet radio). However, a connection is very
+ * unlikely to come across such low MTU interfaces these days (anno domini 2003).
*/
#define TCP_MINMSS 216
OpenPOWER on IntegriCloud