patch-2.4.0-test8 linux/net/socket.c
Next file: linux/net/x25/af_x25.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Aug 28 12:04:42 2000
- Orig file:
v2.4.0-test7/linux/net/socket.c
- Orig date:
Wed Aug 23 18:36:39 2000
diff -u --recursive --new-file v2.4.0-test7/linux/net/socket.c linux/net/socket.c
@@ -855,7 +855,7 @@
net_family_read_lock();
if (net_families[family] == NULL) {
- i = -EINVAL;
+ i = -EAFNOSUPPORT;
goto out;
}
@@ -1710,10 +1710,9 @@
* Initialize the protocols module.
*/
- proto_init();
-
register_filesystem(&sock_fs_type);
sock_mnt = kern_mount(&sock_fs_type);
+ proto_init();
/*
* The netlink device handler may be needed early.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)