svn commit: r202502 - stable/8/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Jan 17 18:18:02 UTC 2010
Author: tuexen
Date: Sun Jan 17 18:18:01 2010
New Revision: 202502
URL: http://svn.freebsd.org/changeset/base/202502
Log:
MFC 201523
Correct usage of parenthesis.
Modified:
stable/8/sys/netinet/sctp_pcb.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/8/sys/netinet/sctp_pcb.c Sun Jan 17 18:17:00 2010 (r202501)
+++ stable/8/sys/netinet/sctp_pcb.c Sun Jan 17 18:18:01 2010 (r202502)
@@ -5528,7 +5528,7 @@ sctp_pcb_init()
/* Init the TIMEWAIT list */
for (i = 0; i < SCTP_STACK_VTAG_HASH_SIZE; i++) {
- LIST_INIT(&SCTP_BASE_INFO(vtag_timewait[i]));
+ LIST_INIT(&SCTP_BASE_INFO(vtag_timewait)[i]);
}
#if defined(SCTP_USE_THREAD_BASED_ITERATOR)
@@ -6385,7 +6385,7 @@ sctp_is_vtag_good(struct sctp_inpcb *inp
}
skip_vtag_check:
- chain = &SCTP_BASE_INFO(vtag_timewait[(tag % SCTP_STACK_VTAG_HASH_SIZE))];
+ chain = &SCTP_BASE_INFO(vtag_timewait)[(tag % SCTP_STACK_VTAG_HASH_SIZE)];
/* Now what about timed wait ? */
if (!LIST_EMPTY(chain)) {
/*
More information about the svn-src-stable
mailing list