Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2010 16:56:31 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r201657 - stable/7/sys/netinet
Message-ID:  <201001061656.o06GuVga083524@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Jan  6 16:56:31 2010
New Revision: 201657
URL: http://svn.freebsd.org/changeset/base/201657

Log:
  MFC r184721:
  
    Adopt the comment for tcp_maxmtu(); we are returning a number
    not a pointer. While here update the rest of the comment to
    better match what we have these days.

Modified:
  stable/7/sys/netinet/tcp_subr.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/tcp_subr.c
==============================================================================
--- stable/7/sys/netinet/tcp_subr.c	Wed Jan  6 16:53:57 2010	(r201656)
+++ stable/7/sys/netinet/tcp_subr.c	Wed Jan  6 16:56:31 2010	(r201657)
@@ -1541,9 +1541,9 @@ tcp_mtudisc(struct inpcb *inp, int errno
 
 /*
  * Look-up the routing entry to the peer of this inpcb.  If no route
- * is found and it cannot be allocated, then return NULL.  This routine
- * is called by TCP routines that access the rmx structure and by tcp_mss
- * to get the interface MTU.
+ * is found and it cannot be allocated, then return 0.  This routine
+ * is called by TCP routines that access the rmx structure and by
+ * tcp_mss_update to get the peer/interface MTU.
  */
 u_long
 tcp_maxmtu(struct in_conninfo *inc, int *flags)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001061656.o06GuVga083524>