patch-2.1.36 linux/net/ipv6/addrconf.c

Next file: linux/net/ipv6/ipv6_sockglue.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.35/linux/net/ipv6/addrconf.c linux/net/ipv6/addrconf.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Pedro Roque		<roque@di.fc.ul.pt>	
  *
- *	$Id: addrconf.c,v 1.16 1997/04/12 04:32:44 davem Exp $
+ *	$Id: addrconf.c,v 1.18 1997/04/16 05:58:03 davem Exp $
  *
  *	This program is free software; you can redistribute it and/or
  *      modify it under the terms of the GNU General Public License
@@ -69,7 +69,7 @@
  */
 struct inet6_dev		*inet6_dev_lst[IN6_ADDR_HSIZE];
 
-static atomic_t			addr_list_lock = ATOMIC_INIT;
+static atomic_t			addr_list_lock = ATOMIC_INIT(0);
 
 void addrconf_verify(unsigned long);
 

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