diff options
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r-- | net/sctp/outqueue.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index c9f20e28521b..5732661c87d3 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c | |||
@@ -1011,6 +1011,13 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout) | |||
1011 | break; | 1011 | break; |
1012 | 1012 | ||
1013 | case SCTP_XMIT_OK: | 1013 | case SCTP_XMIT_OK: |
1014 | /* The sender is in the SHUTDOWN-PENDING state, | ||
1015 | * The sender MAY set the I-bit in the DATA | ||
1016 | * chunk header. | ||
1017 | */ | ||
1018 | if (asoc->state == SCTP_STATE_SHUTDOWN_PENDING) | ||
1019 | chunk->chunk_hdr->flags |= SCTP_DATA_SACK_IMM; | ||
1020 | |||
1014 | break; | 1021 | break; |
1015 | 1022 | ||
1016 | default: | 1023 | default: |