patch-2.2.15 linux/net/socket.c
Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/packet/af_packet.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Apr 21 12:47:17 2000
- Orig file:
v2.2.14/net/socket.c
- Orig date:
Sat Aug 14 02:26:03 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/net/socket.c linux/net/socket.c
@@ -521,6 +521,7 @@
if(fa!=NULL)
{
fa->fa_fd=fd;
+ synchronize_irq();
kfree_s(fna,sizeof(struct fasync_struct));
release_sock(sock->sk);
return 0;
@@ -536,6 +537,7 @@
if (fa!=NULL)
{
*prev=fa->fa_next;
+ synchronize_irq();
kfree_s(fa,sizeof(struct fasync_struct));
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)