patch-2.1.13 linux/net/ipv6/af_inet6.c

Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv4/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.12/linux/net/ipv6/af_inet6.c linux/net/ipv6/af_inet6.c
@@ -254,7 +254,7 @@
  */
 
 static int inet6_bind(struct socket *sock, struct sockaddr *uaddr,
-		      size_t addr_len)
+		      int addr_len)
 {
 	struct sockaddr_in6 *addr=(struct sockaddr_in6 *)uaddr;
 	struct sock *sk=(struct sock *)sock->data, *sk2;
@@ -434,7 +434,7 @@
  */
  
 static int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
-		 size_t *uaddr_len, int peer)
+		 int *uaddr_len, int peer)
 {
 	struct sockaddr_in6 *sin=(struct sockaddr_in6 *)uaddr;
 	struct sock *sk;

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