Attached is a one-liner to set i_nlink to 0 for socket inodes. This
will allow the socket inode to be immediately reused on release.
Regards,
Bill
--------------DBC51A466501115BBAC4CA70
Content-Type: text/plain; charset=us-ascii; name="socket_49-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="socket_49-patch"
--- net/socket.c.old Thu Jul 24 13:34:39 1997
+++ net/socket.c Tue Aug 12 09:06:25 1997
@@ -285,6 +285,7 @@
inode->i_mode = S_IFSOCK;
inode->i_sock = 1;
+ inode->i_nlink = 0;
inode->i_uid = current->uid;
inode->i_gid = current->gid;
--------------DBC51A466501115BBAC4CA70--