patch-2.1.13 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/packet.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.12/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -767,7 +767,7 @@
 
 
 static int inet_bind(struct socket *sock, struct sockaddr *uaddr,
-	       size_t addr_len)
+	       int addr_len)
 {
 	struct sockaddr_in *addr=(struct sockaddr_in *)uaddr;
 	struct sock *sk=(struct sock *)sock->data, *sk2;
@@ -923,7 +923,7 @@
  */
  
 int inet_connect(struct socket *sock, struct sockaddr * uaddr,
-		 size_t addr_len, int flags)
+		 int addr_len, int flags)
 {
 	struct sock *sk=(struct sock *)sock->data;
 	int err;
@@ -1090,7 +1090,7 @@
  */
  
 static int inet_getname(struct socket *sock, struct sockaddr *uaddr,
-		 size_t *uaddr_len, int peer)
+		 int *uaddr_len, int peer)
 {
 	struct sockaddr_in *sin=(struct sockaddr_in *)uaddr;
 	struct sock *sk;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov