2.4.18: symbol versioning error (patch)

Martin Uecker (muecker@gmx.de)
Thu, 25 Jul 2002 18:51:59 +0200


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/