patch-2.1.44 linux/net/socket.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/rose/sysctl_net_rose.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jul 7 10:11:49 1997
- Orig file:
v2.1.43/linux/net/socket.c
- Orig date:
Mon Jun 16 16:36:02 1997
diff -u --recursive --new-file v2.1.43/linux/net/socket.c linux/net/socket.c
@@ -67,6 +67,7 @@
#include <linux/socket.h>
#include <linux/fcntl.h>
#include <linux/file.h>
+#include <linux/dalloc.h>
#include <linux/net.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
@@ -266,6 +267,7 @@
inode = get_empty_inode();
if (!inode)
return NULL;
+
sock = socki_lookup(inode);
inode->i_mode = S_IFSOCK;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov