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

Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.12/linux/net/ipv4/packet.c linux/net/ipv4/packet.c
@@ -282,7 +282,7 @@
  *	Bind a packet socket to a device
  */
 
-static int packet_bind(struct sock *sk, struct sockaddr *uaddr, size_t addr_len)
+static int packet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 {
 	char name[15];
 	struct device *dev;

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