tags 211761 pending quit On Fri, Sep 19, 2003 at 04:26:20PM -0700, Kevin Jamieson wrote: > Package: kernel-source-2.4.22 > Version: 2.4.22-1 > > With IPv6 support enabled as a module and XFRM support disabled, I see the > following unresolved symbol error when running "make modules_install": > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.22; fi > depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv6/ipv6.o > depmod: xfrm6_fini > The problem appears to lie in net/ipv6/route.c. Attached is a trivial > patch that solved this issue for me. Thanks for the patch. David, please apply this to the 2.4 tree. Cheers, -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: kernel-source-2.4/net/ipv6/route.c =================================================================== RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/net/ipv6/route.c,v retrieving revision 1.1.1.19 retrieving revision 1.1.1.18.2.2 diff -u -r1.1.1.19 -r1.1.1.18.2.2 --- kernel-source-2.4/net/ipv6/route.c 30 Aug 2003 12:30:48 -0000 1.1.1.19 +++ kernel-source-2.4/net/ipv6/route.c 21 Sep 2003 03:16:13 -0000 1.1.1.18.2.2 @@ -1940,7 +1940,9 @@ proc_net_remove("ipv6_route"); proc_net_remove("rt6_stats"); #endif +#ifdef CONFIG_XFRM xfrm6_fini(); +#endif rt6_ifdown(NULL); fib6_gc_cleanup(); kmem_cache_destroy(ip6_dst_ops.kmem_cachep);