svn commit: r217638 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Jan 20 13:53:34 UTC 2011
Author: tuexen
Date: Thu Jan 20 13:53:34 2011
New Revision: 217638
URL: http://svn.freebsd.org/changeset/base/217638
Log:
Improve comments.
MFC after: 1 week.
Modified:
head/sys/netinet/sctp_usrreq.c
Modified: head/sys/netinet/sctp_usrreq.c
==============================================================================
--- head/sys/netinet/sctp_usrreq.c Thu Jan 20 13:02:54 2011 (r217637)
+++ head/sys/netinet/sctp_usrreq.c Thu Jan 20 13:53:34 2011 (r217638)
@@ -2342,13 +2342,13 @@ flags_out:
if ((stcb) && (net)) {
if (net->dest_state & SCTP_ADDR_UNCONFIRMED) {
- /* Its unconfirmed */
+ /* It's unconfirmed */
paddri->spinfo_state = SCTP_UNCONFIRMED;
} else if (net->dest_state & SCTP_ADDR_REACHABLE) {
- /* The Active */
+ /* It's active */
paddri->spinfo_state = SCTP_ACTIVE;
} else {
- /* It's Inactive */
+ /* It's inactive */
paddri->spinfo_state = SCTP_INACTIVE;
}
paddri->spinfo_cwnd = net->cwnd;
@@ -2422,10 +2422,10 @@ flags_out:
/* It's unconfirmed */
sstat->sstat_primary.spinfo_state = SCTP_UNCONFIRMED;
} else if (net->dest_state & SCTP_ADDR_REACHABLE) {
- /* Its active */
+ /* It's active */
sstat->sstat_primary.spinfo_state = SCTP_ACTIVE;
} else {
- /* It's Inactive */
+ /* It's inactive */
sstat->sstat_primary.spinfo_state = SCTP_INACTIVE;
}
sstat->sstat_primary.spinfo_cwnd = net->cwnd;
More information about the svn-src-all
mailing list