diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-15 01:11:23 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 05:16:40 -0500 |
commit | e0eb093e794452791b0f932a0120f410f614ad82 (patch) | |
tree | 598ab3c7b9f2d179e3b3c318cc0619e304c2bd5f /include | |
parent | 8feb2fb2bb986c533e18037d3c45a5f779421992 (diff) |
switch sctp_user_addto_chunk() and sctp_datamsg_from_user() to passing iov_iter
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sctp/structs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 806e3b5b3351..2bb2fcf5b11f 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -531,7 +531,7 @@ struct sctp_datamsg { | |||
531 | 531 | ||
532 | struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *, | 532 | struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *, |
533 | struct sctp_sndrcvinfo *, | 533 | struct sctp_sndrcvinfo *, |
534 | struct msghdr *, int len); | 534 | struct iov_iter *); |
535 | void sctp_datamsg_free(struct sctp_datamsg *); | 535 | void sctp_datamsg_free(struct sctp_datamsg *); |
536 | void sctp_datamsg_put(struct sctp_datamsg *); | 536 | void sctp_datamsg_put(struct sctp_datamsg *); |
537 | void sctp_chunk_fail(struct sctp_chunk *, int error); | 537 | void sctp_chunk_fail(struct sctp_chunk *, int error); |
@@ -647,8 +647,8 @@ struct sctp_chunk { | |||
647 | 647 | ||
648 | void sctp_chunk_hold(struct sctp_chunk *); | 648 | void sctp_chunk_hold(struct sctp_chunk *); |
649 | void sctp_chunk_put(struct sctp_chunk *); | 649 | void sctp_chunk_put(struct sctp_chunk *); |
650 | int sctp_user_addto_chunk(struct sctp_chunk *chunk, int off, int len, | 650 | int sctp_user_addto_chunk(struct sctp_chunk *chunk, int len, |
651 | struct iovec *data); | 651 | struct iov_iter *from); |
652 | void sctp_chunk_free(struct sctp_chunk *); | 652 | void sctp_chunk_free(struct sctp_chunk *); |
653 | void *sctp_addto_chunk(struct sctp_chunk *, int len, const void *data); | 653 | void *sctp_addto_chunk(struct sctp_chunk *, int len, const void *data); |
654 | struct sctp_chunk *sctp_chunkify(struct sk_buff *, | 654 | struct sctp_chunk *sctp_chunkify(struct sk_buff *, |