On Sat, May 12, 2018 at 07:21:51PM -0300, Marcelo Ricardo Leitner wrote: > @@ -1043,20 +1038,17 @@ static bool sctp_outq_flush_rtx(struct sctp_flush_ctx *ctx, > static void sctp_outq_flush_data(struct sctp_flush_ctx *ctx, > int rtx_timeout) > { > - struct sctp_packet *packet = ctx->transport ? &ctx->transport->packet : > - NULL; > - struct sctp_association *asoc = ctx->q->asoc; > struct sctp_chunk *chunk; > enum sctp_xmit status; > > /* Is it OK to send data chunks? */ > - switch (asoc->state) { > + switch (ctx->asoc->state) { > case SCTP_STATE_COOKIE_ECHOED: > /* Only allow bundling when this packet has a COOKIE-ECHO > * chunk. > */ > - if (!packet || !packet->has_cookie_echo) > - return; > + if (!ctx->packet || !ctx->packet->has_cookie_echo) > + break; This return/break change was by mistake. Will post v3 tomorrow. -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html