Author: tuexen
Date: Wed Jan 20 18:58:23 2010
New Revision: 202713
URL: http://svn.freebsd.org/changeset/base/202713

Log:
  MFC 201523
  
  Correct usage of parenthesis.

Modified:
  stable/7/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/7/sys/netinet/sctp_pcb.c     Wed Jan 20 18:55:40 2010        
(r202712)
+++ stable/7/sys/netinet/sctp_pcb.c     Wed Jan 20 18:58:23 2010        
(r202713)
@@ -5510,7 +5510,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)
@@ -6338,7 +6338,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)) {
                /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to