diff options
Diffstat (limited to 'net/sctp/ulpqueue.c')
-rw-r--r-- | net/sctp/ulpqueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index 7cdc3623fa35..a212fe079c07 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c | |||
@@ -1104,7 +1104,8 @@ void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | |||
1104 | freed += sctp_ulpq_renege_frags(ulpq, needed - freed); | 1104 | freed += sctp_ulpq_renege_frags(ulpq, needed - freed); |
1105 | } | 1105 | } |
1106 | /* If able to free enough room, accept this chunk. */ | 1106 | /* If able to free enough room, accept this chunk. */ |
1107 | if (freed >= needed) { | 1107 | if (sk_rmem_schedule(asoc->base.sk, chunk->skb, needed) && |
1108 | freed >= needed) { | ||
1108 | int retval = sctp_ulpq_tail_data(ulpq, chunk, gfp); | 1109 | int retval = sctp_ulpq_tail_data(ulpq, chunk, gfp); |
1109 | /* | 1110 | /* |
1110 | * Enter partial delivery if chunk has not been | 1111 | * Enter partial delivery if chunk has not been |