Skip to contentSkip to conversation

2.4.18: symbol versioning error (patch)

PATCH Martin Uecker 1 participant 1 message Jul 25, 2002

lore
Share & tools
lore
#0 lore raw

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))

netsyms.c renamed from netsyms.c.old +1 -1
@@ -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