patch-2.1.99 linux/net/core/dev.c

Next file: linux/net/core/rtnetlink.c
Previous file: linux/net/core/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.98/linux/net/core/dev.c linux/net/core/dev.c
@@ -1789,7 +1789,9 @@
 {
 	struct device *dev, **dp;
 
+#ifdef CONFIG_NET_SCHED
 	pktsched_init();
+#endif
 
 	/*
 	 *	Initialise the packet receive queue.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov