svn commit: r208854 - head/sys/netinet
Randall Stewart
rrs at FreeBSD.org
Sat Jun 5 21:22:59 UTC 2010
Author: rrs
Date: Sat Jun 5 21:22:58 2010
New Revision: 208854
URL: http://svn.freebsd.org/changeset/base/208854
Log:
Use the proper increment macro when increasing the
number on sent_queue_retran_cnt.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_indata.c
Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c Sat Jun 5 21:20:28 2010 (r208853)
+++ head/sys/netinet/sctp_indata.c Sat Jun 5 21:22:58 2010 (r208854)
@@ -3849,7 +3849,8 @@ sctp_window_probe_recovery(struct sctp_t
sctp_total_flight_decrease(stcb, tp1);
/* Now mark for resend */
tp1->sent = SCTP_DATAGRAM_RESEND;
- asoc->sent_queue_retran_cnt++;
+ sctp_ucount_incr(asoc->sent_queue_retran_cnt);
+
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) {
sctp_misc_ints(SCTP_FLIGHT_LOG_DOWN_WP,
tp1->whoTo->flight_size,
@@ -4262,7 +4263,7 @@ again:
sctp_flight_size_increase(tp1);
sctp_total_flight_increase(stcb, tp1);
} else if (tp1->sent == SCTP_DATAGRAM_RESEND) {
- asoc->sent_queue_retran_cnt++;
+ sctp_ucount_incr(asoc->sent_queue_retran_cnt);
}
}
}
@@ -5263,7 +5264,7 @@ again:
sctp_flight_size_increase(tp1);
sctp_total_flight_increase(stcb, tp1);
} else if (tp1->sent == SCTP_DATAGRAM_RESEND) {
- asoc->sent_queue_retran_cnt++;
+ sctp_ucount_incr(asoc->sent_queue_retran_cnt);
}
}
}
More information about the svn-src-all
mailing list