summaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index aafe94bf292e..f1a65398f311 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -1586,8 +1586,7 @@ static int sctp_error(struct sock *sk, int flags, int err)
1586 1586
1587static int sctp_msghdr_parse(const struct msghdr *, sctp_cmsgs_t *); 1587static int sctp_msghdr_parse(const struct msghdr *, sctp_cmsgs_t *);
1588 1588
1589static int sctp_sendmsg(struct kiocb *iocb, struct sock *sk, 1589static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len)
1590 struct msghdr *msg, size_t msg_len)
1591{ 1590{
1592 struct net *net = sock_net(sk); 1591 struct net *net = sock_net(sk);
1593 struct sctp_sock *sp; 1592 struct sctp_sock *sp;
@@ -2066,9 +2065,8 @@ static int sctp_skb_pull(struct sk_buff *skb, int len)
2066 * flags - flags sent or received with the user message, see Section 2065 * flags - flags sent or received with the user message, see Section
2067 * 5 for complete description of the flags. 2066 * 5 for complete description of the flags.
2068 */ 2067 */
2069static int sctp_recvmsg(struct kiocb *iocb, struct sock *sk, 2068static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
2070 struct msghdr *msg, size_t len, int noblock, 2069 int noblock, int flags, int *addr_len)
2071 int flags, int *addr_len)
2072{ 2070{
2073 struct sctp_ulpevent *event = NULL; 2071 struct sctp_ulpevent *event = NULL;
2074 struct sctp_sock *sp = sctp_sk(sk); 2072 struct sctp_sock *sp = sctp_sk(sk);