patch-2.4.17 linux/net/socket.c
Next file: linux/net/sunrpc/xprt.c
Previous file: linux/net/sched/sch_tbf.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Dec 21 16:40:33 2001
- Orig file:
linux-2.4.16/net/socket.c
- Orig date:
Wed Oct 17 21:38:28 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/net/socket.c linux/net/socket.c
@@ -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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)