patch-2.2.5 linux/net/ipv6/addrconf.c
Next file: linux/net/ipv6/ipv6_sockglue.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Thu Mar 25 09:23:34 1999
- Orig file:
v2.2.4/linux/net/ipv6/addrconf.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.4/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.47 1999/03/21 05:22:50 davem Exp $
+ * $Id: addrconf.c,v 1.48 1999/03/25 10:04:43 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -340,9 +340,9 @@
for (; iter; iter = iter->lst_next) {
if (iter == ifp) {
- net_serialize_enter();
*back = ifp->lst_next;
- net_serialize_leave();
+ synchronize_bh();
+
ifp->lst_next = NULL;
break;
}
@@ -354,9 +354,9 @@
for (; iter; iter = iter->if_next) {
if (iter == ifp) {
- net_serialize_enter();
*back = ifp->if_next;
- net_serialize_leave();
+ synchronize_bh();
+
ifp->if_next = NULL;
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)