diff options
author | bz <bz@FreeBSD.org> | 2008-11-06 12:59:00 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-11-06 12:59:00 +0000 |
commit | a60ac642fc023a13947e5872ad87b2cb14349d1e (patch) | |
tree | f8bb5edd80d19cb4dba6557fd1f78f1b9bb3553d /sys/netinet/tcp_subr.c | |
parent | 2802110bd58cf14e345dad0068b0927bed98940b (diff) | |
download | FreeBSD-src-a60ac642fc023a13947e5872ad87b2cb14349d1e.zip FreeBSD-src-a60ac642fc023a13947e5872ad87b2cb14349d1e.tar.gz |
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
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 91560f1..51848ee 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -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) |