public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.25 : tr_source_route fix
@ 2002-07-10 14:20 Frank Davis
  2002-07-10 17:48 ` Arnd Bergmann
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Davis @ 2002-07-10 14:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: fdavis, torvalds

Hello all,
  The following patch fixes the below 'make bzImage' error. Please review 
for inclusion.
Regards,
Frank

netsyms.c:447: `tr_source_route' undeclared here (not in a function)
netsyms.c:447: initializer element is not constant
netsyms.c:447: (near initialization for `__ksymtab_tr_source_route.value')
make[1]: *** [netsyms.o] Error 1
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [net] Error 2

--- net/802/tr.c.old	Thu Jun 20 20:52:05 2002
+++ net/802/tr.c	Thu Jun 20 20:51:59 2002
@@ -36,7 +36,7 @@
 #include <linux/init.h>
 #include <net/arp.h>
 
-static void tr_source_route(struct sk_buff *skb, struct trh_hdr *trh, struct net_device *dev);
+void tr_source_route(struct sk_buff *skb, struct trh_hdr *trh, struct net_device *dev);
 static void tr_add_rif_info(struct trh_hdr *trh, struct net_device *dev);
 static void rif_check_expire(unsigned long dummy);
 
@@ -230,7 +230,7 @@
  *	We try to do source routing... 
  */
 
-static void tr_source_route(struct sk_buff *skb,struct trh_hdr *trh,struct net_device *dev) 
+void tr_source_route(struct sk_buff *skb,struct trh_hdr *trh,struct net_device *dev) 
 {
 	int i, slack;
 	unsigned int hash;

--- include/linux/trdevice.h.old	Thu Jun 20 21:53:21 2002
+++ include/linux/trdevice.h	Thu Jun 20 21:53:11 2002
@@ -37,6 +37,7 @@
 extern struct net_device *alloc_trdev(int sizeof_priv);
 extern int register_trdev(struct net_device *dev);
 extern void unregister_trdev(struct net_device *dev);
+extern void tr_source_route(struct sk_buff *skb, struct trh_hdr *trh, struct net_device *dev);
 
 #endif
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-11 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-10 14:20 [PATCH] 2.5.25 : tr_source_route fix Frank Davis
2002-07-10 17:48 ` Arnd Bergmann
2002-07-10 16:45   ` Frank Davis
2002-07-11  9:46     ` Arnd Bergmann
2002-07-11 14:00       ` Frank Davis
2002-07-11 21:47         ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox