Loading net/nonet.c +0 −5 Original line number Diff line number Diff line Loading @@ -14,11 +14,6 @@ #include <linux/init.h> #include <linux/kernel.h> void __init sock_init(void) { printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n"); } static int sock_no_open(struct inode *irrelevant, struct file *dontcare) { return -ENXIO; Loading net/socket.c +2 −0 Original line number Diff line number Diff line Loading @@ -2063,6 +2063,8 @@ static int __init sock_init(void) #ifdef CONFIG_NETFILTER netfilter_init(); #endif return 0; } core_initcall(sock_init); /* early initcall */ Loading Loading
net/nonet.c +0 −5 Original line number Diff line number Diff line Loading @@ -14,11 +14,6 @@ #include <linux/init.h> #include <linux/kernel.h> void __init sock_init(void) { printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n"); } static int sock_no_open(struct inode *irrelevant, struct file *dontcare) { return -ENXIO; Loading
net/socket.c +2 −0 Original line number Diff line number Diff line Loading @@ -2063,6 +2063,8 @@ static int __init sock_init(void) #ifdef CONFIG_NETFILTER netfilter_init(); #endif return 0; } core_initcall(sock_init); /* early initcall */ Loading