2.4.18: symbol versioning error (patch)

From: Martin Uecker (muecker@gmx.de)
Date: Thu Jul 25 2002 - 11:51:59 EST


Hi,

if "sock.h" is not included, the versioned symbols
for "sk_run_filter" and "sk_chk_filter" are not created
correctly.

(kernel version: 2.4.18 (with debian patches))

--- net/netsyms.c.old Thu Jul 25 17:46:31 2002
+++ net/netsyms.c Thu Jul 25 17:59:31 2002
@@ -82,7 +82,7 @@
 extern void destroy_8023_client(struct datalink_proto *);
 #endif
 
-#ifdef CONFIG_ATALK_MODULE
+#if defined(CONFIG_ATALK_MODULE) || defined(CONFIG_FILTER)
 #include <net/sock.h>
 #endif
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:21 EST