Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.17-pre8 /net/socket.c

Filename:/net/socket.c
Lines Added:3
Lines Deleted:5
Also changed in: (Previous) 2.4.17-pre7  2.4.17-pre6  2.4.17-pre5  2.4.17-pre3  2.4.17-pre4  2.4.13 
(Following) 2.4.17-rc1  2.4.17-rc2  2.4.17  2.4.19-pre1-ac3  2.4.19-pre2-ac2  2.4.19-pre2-ac3 

Location
[  2.4.17-pre8
  [  net
     o  socket.c

Patch

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/net/socket.c linux/net/socket.c
--- linux-2.4.16/net/socket.c   Mon Nov 26 10:35:01 2001
+++ linux/net/socket.c   Wed Dec  5 16:36:05 2001
@@ -67,6 +67,8 @@
 #include <linux/netdevice.h>
 #include <linux/proc_fs.h>
 #include <linux/wanrouter.h>
+#include <linux/netlink.h>
+#include <linux/rtnetlink.h>
 #include <linux/init.h>
 #include <linux/poll.h>
 #include <linux/cache.h>
@@ -79,11 +81,7 @@
 
 #include <asm/uaccess.h>
 
-#include <linux/inet.h>
-#include <net/ip.h>
 #include <net/sock.h>
-#include <net/tcp.h>
-#include <net/udp.h>
 #include <net/scm.h>
 #include <linux/netfilter.h>
 
@@ -1724,7 +1722,7 @@
     * The netlink device handler may be needed early.
     */
 
-#ifdef  CONFIG_RTNETLINK
+#ifdef CONFIG_NET
    rtnetlink_init();
 #endif
 #ifdef CONFIG_NETLINK_DEV


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.