linux-2.1.99 PATCH for tcf_police symbols in net/netsyms.c

Adam J. Richter (adam@yggdrasil.com)
Sat, 2 May 1998 08:06:18 -0700


linux-2.1.99/net/netsyms.c uses "#ifdef CONFIG_NET_POLICE"
when the actual symbol defined by the configuration process is
CONFIG_NET_CLS_POLICE. The following patch fixes this problem,
allowing the modules that reference tcf_police to load.

This bug was detected using my GNU style "./configure"
patch that I posted to this list.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
----------------------------CUT HERE-----------------------------------
--- linux-2.1.99/net/netsyms.c Thu Apr 30 09:37:23 1998
+++ linux/net/netsyms.c Sat May 2 08:01:55 1998
@@ -458,7 +467,7 @@
EXPORT_SYMBOL(qdisc_new_estimator);
EXPORT_SYMBOL(qdisc_kill_estimator);
#endif
-#ifdef CONFIG_NET_POLICE
+#ifdef CONFIG_NET_CLS_POLICE
EXPORT_SYMBOL(tcf_police);
EXPORT_SYMBOL(tcf_police_locate);
EXPORT_SYMBOL(tcf_police_destroy);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu