mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC 201523
Correct usage of parenthesis.
This commit is contained in:
parent
c44809a53d
commit
06ee5047d5
1 changed files with 2 additions and 2 deletions
|
|
@ -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, uint32_t tag, uint16_t lport, uint16_t
|
|||
}
|
||||
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)) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue