diff options
| -rw-r--r-- | net/sctp/stream_interleave.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sctp/stream_interleave.c b/net/sctp/stream_interleave.c index 65ac03b44df8..d3764c181299 100644 --- a/net/sctp/stream_interleave.c +++ b/net/sctp/stream_interleave.c | |||
| @@ -968,9 +968,8 @@ static void sctp_renege_events(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | |||
| 968 | needed); | 968 | needed); |
| 969 | } | 969 | } |
| 970 | 970 | ||
| 971 | if (chunk && freed >= needed) | 971 | if (freed >= needed && sctp_ulpevent_idata(ulpq, chunk, gfp) <= 0) |
| 972 | if (sctp_ulpevent_idata(ulpq, chunk, gfp) <= 0) | 972 | sctp_intl_start_pd(ulpq, gfp); |
| 973 | sctp_intl_start_pd(ulpq, gfp); | ||
| 974 | 973 | ||
| 975 | sk_mem_reclaim(asoc->base.sk); | 974 | sk_mem_reclaim(asoc->base.sk); |
| 976 | } | 975 | } |
