Author: tuexen
Date: Sat Jun 13 18:38:59 2020
New Revision: 362153
URL: https://svnweb.freebsd.org/changeset/base/362153
Log:
Simpify a condition, no functional change.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_input.c
Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c Sat Jun 13 18:21:31 2020
(r362152)
+++ head/sys/netinet/sctp_input.c Sat Jun 13 18:38:59 2020
(r362153)
@@ -5594,9 +5594,8 @@ trigger_send:
if (!TAILQ_EMPTY(&stcb->asoc.asconf_send_queue) ||
cnt_ctrl_ready ||
stcb->asoc.trigger_reset ||
- ((un_sent) &&
- (stcb->asoc.peers_rwnd > 0 ||
- (stcb->asoc.peers_rwnd <= 0 && stcb->asoc.total_flight == 0)))) {
+ ((un_sent > 0) &&
+ (stcb->asoc.peers_rwnd > 0 || stcb->asoc.total_flight == 0))) {
SCTPDBG(SCTP_DEBUG_INPUT3, "Calling chunk OUTPUT\n");
sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_CONTROL_PROC,
SCTP_SO_NOT_LOCKED);
SCTPDBG(SCTP_DEBUG_INPUT3, "chunk OUTPUT returns\n");
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"