patch-2.2.5 linux/net/ipv6/ipv6_sockglue.c
Next file: linux/net/ipv6/mcast.c
Previous file: linux/net/ipv6/addrconf.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Mar 25 09:23:34 1999
- Orig file:
v2.2.4/linux/net/ipv6/ipv6_sockglue.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.4/linux/net/ipv6/ipv6_sockglue.c linux/net/ipv6/ipv6_sockglue.c
@@ -7,7 +7,7 @@
*
* Based on linux/net/ipv4/ip_sockglue.c
*
- * $Id: ipv6_sockglue.c,v 1.25 1999/03/21 05:22:54 davem Exp $
+ * $Id: ipv6_sockglue.c,v 1.26 1999/03/25 10:04:53 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -86,9 +86,10 @@
kfree(new_ra);
return -EADDRINUSE;
}
- net_serialize_enter();
+
*rap = ra->next;
- net_serialize_leave();
+ synchronize_bh();
+
if (ra->destructor)
ra->destructor(sk);
kfree(ra);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)