patch-2.2.5 linux/net/netlink/af_netlink.c
Next file: linux/net/sched/cls_api.c
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Mar 25 09:23:34 1999
- Orig file:
v2.2.4/linux/net/netlink/af_netlink.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.4/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -747,9 +747,9 @@
{
struct socket *sock = netlink_kernel[unit];
- net_serialize_enter();
netlink_kernel[unit] = NULL;
- net_serialize_leave();
+ synchronize_bh();
+
sock_release(sock);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)