Module Name: src
Committed By: maxv
Date: Thu May 17 07:30:14 UTC 2018
Modified Files:
src/sys/netinet: tcp_output.c
Log Message:
Remove reference to tcpiphdr in comment.
To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/netinet/tcp_output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/tcp_output.c
diff -u src/sys/netinet/tcp_output.c:1.207 src/sys/netinet/tcp_output.c:1.208
--- src/sys/netinet/tcp_output.c:1.207 Mon May 7 23:42:13 2018
+++ src/sys/netinet/tcp_output.c Thu May 17 07:30:13 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_output.c,v 1.207 2018/05/07 23:42:13 uwe Exp $ */
+/* $NetBSD: tcp_output.c,v 1.208 2018/05/17 07:30:13 maxv Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -135,7 +135,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.207 2018/05/07 23:42:13 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.208 2018/05/17 07:30:13 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1073,12 +1073,12 @@ just_return:
send:
/*
- * Before ESTABLISHED, force sending of initial options
- * unless TCP set not to do any options.
- * NOTE: we assume that the IP/TCP header plus TCP options
- * always fit in a single mbuf, leaving room for a maximum
- * link header, i.e.
- * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MCLBYTES
+ * Before ESTABLISHED, force sending of initial options unless TCP set
+ * not to do any options.
+ *
+ * Note: we assume that the IP/TCP header plus TCP options always fit
+ * in a single mbuf, leaving room for a maximum link header, i.e.:
+ * max_linkhdr + IP_header + TCP_header + optlen <= MCLBYTES
*/
optlen = 0;
optp = opt;