* [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed
2004-11-12 18:00 Linux 2.4.28-rc3 Marcelo Tosatti
@ 2004-11-13 20:07 ` Adrian Bunk
2004-11-14 7:25 ` David S. Miller
0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2004-11-13 20:07 UTC (permalink / raw)
To: Marcelo Tosatti, Harald Welte, David S. Miller
Cc: linux-kernel, netdev, patrick, linux-decnet-user
I'm getting the following error:
<-- snip -->
depmod: *** Unresolved symbols in /lib/modules/2.4.28-rc3/kernel/net/decnet/decnet.o
depmod: neigh_for_each
<-- snip -->
This was caused by Harald's backport of the neighbour scalability fixes
from 2.6 .
neigh_for_each must be EXPORT_SYMBOL'ed (as it is in 2.6):
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.4.28-rc3-modular/net/core/Makefile.old 2004-11-13 19:40:36.000000000 +0100
+++ linux-2.4.28-rc3-modular/net/core/Makefile 2004-11-13 19:40:50.000000000 +0100
@@ -9,7 +9,7 @@
O_TARGET := core.o
-export-objs := netfilter.o profile.o ethtool.o
+export-objs := netfilter.o profile.o ethtool.o neighbour.o
obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
--- linux-2.4.28-rc3-modular/net/core/neighbour.c.old 2004-11-13 19:35:26.000000000 +0100
+++ linux-2.4.28-rc3-modular/net/core/neighbour.c 2004-11-13 19:35:59.000000000 +0100
@@ -1569,6 +1569,7 @@
}
read_unlock_bh(&tbl->lock);
}
+EXPORT_SYMBOL(neigh_for_each);
/* The tbl->lock must be held as a writer and BH disabled. */
void __neigh_for_each_release(struct neigh_table *tbl,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed
2004-11-13 20:07 ` [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed Adrian Bunk
@ 2004-11-14 7:25 ` David S. Miller
0 siblings, 0 replies; 5+ messages in thread
From: David S. Miller @ 2004-11-14 7:25 UTC (permalink / raw)
To: Adrian Bunk
Cc: marcelo.tosatti, laforge, linux-kernel, netdev, patrick,
linux-decnet-user
On Sat, 13 Nov 2004 21:07:35 +0100
Adrian Bunk <bunk@stusta.de> wrote:
> neigh_for_each must be EXPORT_SYMBOL'ed (as it is in 2.6):
Good catch Adrian, I'll apply this and push it to
Marcelo.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed
@ 2004-11-15 15:27 O.Sezer
2004-11-15 23:17 ` David S. Miller
2004-11-15 23:18 ` [patch] 2.4.28-rc3: __neigh_for_each_release " Adrian Bunk
0 siblings, 2 replies; 5+ messages in thread
From: O.Sezer @ 2004-11-15 15:27 UTC (permalink / raw)
To: linux-kernel; +Cc: davem, bunk
A similar export should also be needed for __neigh_for_each_release :
/sbin/depmod -ae -F System.map 2.4.28-rc3aac2
depmod: *** Unresolved symbols in
/lib/modules/2.4.28-rc3aac2/kernel/net/atm/clip.o
depmod: __neigh_for_each_release
Ozkan Sezer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed
2004-11-15 15:27 [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed O.Sezer
@ 2004-11-15 23:17 ` David S. Miller
2004-11-15 23:18 ` [patch] 2.4.28-rc3: __neigh_for_each_release " Adrian Bunk
1 sibling, 0 replies; 5+ messages in thread
From: David S. Miller @ 2004-11-15 23:17 UTC (permalink / raw)
To: O.Sezer; +Cc: linux-kernel, bunk
On Mon, 15 Nov 2004 17:27:56 +0200
"O.Sezer" <sezeroz@ttnet.net.tr> wrote:
> A similar export should also be needed for __neigh_for_each_release :
>
> /sbin/depmod -ae -F System.map 2.4.28-rc3aac2
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.28-rc3aac2/kernel/net/atm/clip.o
> depmod: __neigh_for_each_release
Good catch, I've fixed this in my tree and will push
upstream.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [patch] 2.4.28-rc3: __neigh_for_each_release must be EXPORT_SYMBOL'ed
2004-11-15 15:27 [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed O.Sezer
2004-11-15 23:17 ` David S. Miller
@ 2004-11-15 23:18 ` Adrian Bunk
1 sibling, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2004-11-15 23:18 UTC (permalink / raw)
To: O.Sezer; +Cc: linux-kernel, davem
On Mon, Nov 15, 2004 at 05:27:56PM +0200, O.Sezer wrote:
> A similar export should also be needed for __neigh_for_each_release :
>
> /sbin/depmod -ae -F System.map 2.4.28-rc3aac2
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.28-rc3aac2/kernel/net/atm/clip.o
> depmod: __neigh_for_each_release
Thanks for this report.
For some strange reason, this wasn't covered by the modular .config I
used for testing...
Patch (on top of my other patch) below.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.4.28-rc3-modular/net/core/neighbour.c.old 2004-11-15 22:14:54.000000000 +0100
+++ linux-2.4.28-rc3-modular/net/core/neighbour.c 2004-11-15 22:15:19.000000000 +0100
@@ -1597,6 +1597,7 @@
}
}
}
+EXPORT_SYMBOL(__neigh_for_each_release);
#ifdef CONFIG_PROC_FS
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-15 23:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 15:27 [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed O.Sezer
2004-11-15 23:17 ` David S. Miller
2004-11-15 23:18 ` [patch] 2.4.28-rc3: __neigh_for_each_release " Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2004-11-12 18:00 Linux 2.4.28-rc3 Marcelo Tosatti
2004-11-13 20:07 ` [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed Adrian Bunk
2004-11-14 7:25 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox