Re: AppleTalk 2.1.27 (2.1.21?) and module fix

Regis Duchesne (hpreg@celine.via.ecp.fr)
16 Jan 1997 23:44:11 +0100


fisher@ivy.dt.navy.mil (Steven Fisher) writes:

> > starting appletalk daemons:eth0: set Rx mode to 4 addresses.
> > eth0: set Rx mode to 5 addresses.
> > AppleTalk not up! Child exited with 1.
> > atalkdnbp_rgstr: Connection timed out
> > Can't register albatros:Workstation@*
> > nbp_rgstr: Connection timed out
> > Can't register albatros:netatalk@*
> > nbprgstr papd afpd.

> I myself have had the same problems with kernels 2.1.14-2.1.21, and I do not
> use modules for AppleTalk or IPX. I'm using netatalk 1.4b1
Same problem here, but 2.1.14 was ok, for sure.

The correct patch that fix the symbol exportation for those
who compile the appletalk protocol as a module follows.

Regis "HPReg" DUCHESNE - Engineering Student at ***** ******** *****
www http://www.via.ecp.fr/~regis/
(O o) I use Linux & 3Com (1135 Kb/s over 10Mb/s ethernet)
--.oOO--(_)--OOo.-----------------------------------------------------------

--- linux/net/netsyms.c.orig Thu Jan 16 23:16:40 1997
+++ linux/net/netsyms.c Thu Jan 16 23:14:08 1997
@@ -66,6 +66,10 @@
extern void destroy_8023_client(struct datalink_proto *);
#endif

+#ifdef CONFIG_ATALK_MODULE
+#include <net/sock.h>
+#endif
+
extern char *skb_push_errstr;
extern char *skb_put_errstr;

@@ -105,6 +109,11 @@
EXPORT_SYMBOL(destroy_8023_client);
EXPORT_SYMBOL(make_EII_client);
EXPORT_SYMBOL(destroy_EII_client);
+#endif
+
+#ifdef CONFIG_ATALK_MODULE
+EXPORT_SYMBOL(sklist_destroy_socket);
+EXPORT_SYMBOL(sklist_insert_socket);
#endif

#ifdef CONFIG_INET