| Kernel v2.4.17-pre8 /net/socket.c |
|---|
 2.4.17-pre8
 net
 socket.c
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
|