svn commit: r271107 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Thu Sep 4 17:05:58 UTC 2014


Author: glebius
Date: Thu Sep  4 17:05:57 2014
New Revision: 271107
URL: http://svnweb.freebsd.org/changeset/base/271107

Log:
  Fixes for tcp_respond() comment.

Modified:
  head/sys/netinet/tcp_subr.c

Modified: head/sys/netinet/tcp_subr.c
==============================================================================
--- head/sys/netinet/tcp_subr.c	Thu Sep  4 16:55:01 2014	(r271106)
+++ head/sys/netinet/tcp_subr.c	Thu Sep  4 17:05:57 2014	(r271107)
@@ -539,16 +539,16 @@ tcpip_maketemplate(struct inpcb *inp)
 /*
  * Send a single message to the TCP at address specified by
  * the given TCP/IP header.  If m == NULL, then we make a copy
- * of the tcpiphdr at ti and send directly to the addressed host.
+ * of the tcpiphdr at th and send directly to the addressed host.
  * This is used to force keep alive messages out using the TCP
  * template for a connection.  If flags are given then we send
- * a message back to the TCP which originated the * segment ti,
+ * a message back to the TCP which originated the segment th,
  * and discard the mbuf containing it and any other attached mbufs.
  *
  * In any case the ack and sequence number of the transmitted
  * segment are as specified by the parameters.
  *
- * NOTE: If m != NULL, then ti must point to *inside* the mbuf.
+ * NOTE: If m != NULL, then th must point to *inside* the mbuf.
  */
 void
 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,


More information about the svn-src-all mailing list