Author: bz
Date: Thu Nov  6 12:59:00 2008
New Revision: 184721
URL: http://svn.freebsd.org/changeset/base/184721

Log:
  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.
  
  MFC after:    2 months

Modified:
  head/sys/netinet/tcp_subr.c

Modified: head/sys/netinet/tcp_subr.c
==============================================================================
--- head/sys/netinet/tcp_subr.c Thu Nov  6 12:33:33 2008        (r184720)
+++ head/sys/netinet/tcp_subr.c Thu Nov  6 12:59:00 2008        (r184721)
@@ -1584,9 +1584,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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to