Simpify a condition, no functional change.
MFC after: 1 week
This commit is contained in:
parent
2b5d88fdcf
commit
64c8fc5de8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362153
@ -5594,9 +5594,8 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset, int lengt
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user