patch-2.2.5 linux/net/ipv4/ipmr.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/ipip.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/ipv4/ipmr.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.4/linux/net/ipv4/ipmr.c linux/net/ipv4/ipmr.c
@@ -9,7 +9,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
- * Version: $Id: ipmr.c,v 1.39 1999/03/21 05:22:44 davem Exp $
+ * Version: $Id: ipmr.c,v 1.40 1999/03/25 10:04:25 davem Exp $
*
* Fixes:
* Michael Chastain : Incorrect size of copying.
@@ -661,9 +661,10 @@
{
if (sk == mroute_socket) {
ipv4_devconf.mc_forwarding = 0;
- net_serialize_enter();
+
mroute_socket=NULL;
- net_serialize_leave();
+ synchronize_bh();
+
mroute_close(sk);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)