netdev
[Top] [All Lists]

[PATCH] minor fix for sock_no_recvmsg, 2.3.99-pre-6-1

To: netdev@xxxxxxxxxxx
Subject: [PATCH] minor fix for sock_no_recvmsg, 2.3.99-pre-6-1
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2000 12:41:56 +1000 (EST)
Sender: owner-netdev@xxxxxxxxxxx
Please see below.

- James
--
James Morris
<jmorris@xxxxxxxxxxxxxxxx>


diff -urN linux-2.3.99-pre6-1/include/net/sock.h linux/include/net/sock.h
--- linux-2.3.99-pre6-1/include/net/sock.h      Thu Apr 13 11:54:16 2000
+++ linux/include/net/sock.h    Thu Apr 13 12:21:32 2000
@@ -817,7 +817,7 @@
                                                struct msghdr *, int,
                                                struct scm_cookie *);
 extern int                      sock_no_recvmsg(struct socket *,
-                                               struct msghdr *, int,
+                                               struct msghdr *, int, int,
                                                struct scm_cookie *);
 extern int                     sock_no_mmap(struct file *file,
                                             struct socket *sock,
diff -urN linux-2.3.99-pre6-1/net/core/sock.c linux/net/core/sock.c
--- linux-2.3.99-pre6-1/net/core/sock.c Thu Apr 13 11:54:16 2000
+++ linux/net/core/sock.c       Thu Apr 13 12:20:48 2000
@@ -1068,7 +1068,7 @@
        return -EOPNOTSUPP;
 }
 
-int sock_no_recvmsg(struct socket *sock, struct msghdr *m, int flags,
+int sock_no_recvmsg(struct socket *sock, struct msghdr *m, int len, int flags,
                    struct scm_cookie *scm)
 {
        return -EOPNOTSUPP;


<Prev in Thread] Current Thread [Next in Thread>