|
@@ -144,8 +144,10 @@ static void sctp_stream_outq_migrate(struct sctp_stream *stream,
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- for (i = outcnt; i < stream->outcnt; i++)
|
|
|
|
|
|
|
+ for (i = outcnt; i < stream->outcnt; i++) {
|
|
|
kfree(SCTP_SO(stream, i)->ext);
|
|
kfree(SCTP_SO(stream, i)->ext);
|
|
|
|
|
+ SCTP_SO(stream, i)->ext = NULL;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt,
|
|
static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt,
|