From: Xin Long > Sent: 08 December 2017 13:04 ... > @@ -264,8 +264,8 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, > frag |= SCTP_DATA_SACK_IMM; > } > > - chunk = sctp_make_datafrag_empty(asoc, sinfo, len, frag, > - 0, GFP_KERNEL); > + chunk = asoc->stream.si->make_datafrag(asoc, sinfo, len, frag, > + GFP_KERNEL); I know that none of the sctp code is very optimised, but that indirect call is going to be horrid. David -- 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