diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2016-12-06 10:21:25 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2016-12-06 10:21:25 +0000 |
| commit | 5b495f17a57c6736bbf1952dab358facd514adc9 (patch) | |
| tree | 7c1f2a4f4b50474991a8db665840a12b00e9ce9d /sys/netinet/sctp_timer.c | |
| parent | ff30498384aca45bec1476f167437ae12a68ba3c (diff) | |
Notes
Diffstat (limited to 'sys/netinet/sctp_timer.c')
| -rw-r--r-- | sys/netinet/sctp_timer.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/netinet/sctp_timer.c b/sys/netinet/sctp_timer.c index ae6ec4970d6d..3baa66e12e37 100644 --- a/sys/netinet/sctp_timer.c +++ b/sys/netinet/sctp_timer.c @@ -193,10 +193,8 @@ sctp_find_alternate_net(struct sctp_tcb *stcb, */ if (mode == 2) { TAILQ_FOREACH(mnet, &stcb->asoc.nets, sctp_next) { - /* - * JRS 5/14/07 - If the destination is unreachable - * or unconfirmed, skip it. - */ + /* JRS 5/14/07 - If the destination is unreachable + * or unconfirmed, skip it. */ if (((mnet->dest_state & SCTP_ADDR_REACHABLE) != SCTP_ADDR_REACHABLE) || (mnet->dest_state & SCTP_ADDR_UNCONFIRMED)) { continue; @@ -286,11 +284,8 @@ sctp_find_alternate_net(struct sctp_tcb *stcb, } else { return (max_cwnd_net); } - } - /* - * JRS 5/14/07 - If mode is set to 1, use the CMT policy for - * choosing an alternate net. - */ + } /* JRS 5/14/07 - If mode is set to 1, use the + * CMT policy for choosing an alternate net. */ else if (mode == 1) { TAILQ_FOREACH(mnet, &stcb->asoc.nets, sctp_next) { if (((mnet->dest_state & SCTP_ADDR_REACHABLE) != SCTP_ADDR_REACHABLE) || @@ -470,7 +465,6 @@ sctp_recover_sent_list(struct sctp_tcb *stcb) SCTP_PRINTF("chk:%p TSN:%x\n", (void *)chk, chk->rec.data.TSN_seq); } } - #endif static int |
