Thread (30 messages) 30 messages, 5 authors, 2017-12-11

RE: [PATCHv2 net-next 04/12] sctp: implement make_datafrag for sctp_stream_interleave

flat view

From: David Laight <hidden>
Date: 2017-12-08 14:05:54
Also in: linux-sctp

From: Xin Long
Sent: 08 December 2017 13:04
...
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help