Re: 2.5.61: ipv6 as module fails: xfrm6_get_type

Kunihiro Ishiguro (kunihiro@ipinfusion.com)
Fri, 14 Feb 2003 23:51:39 -0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-25981-1045295597-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

>xfrm6_get_type() is undefined when one tries to build 2.5.61 with
>IPv6 configured as a module. CONFIG_IPV6=y builds fine.

Sorry. Please try attached patch.

--=_courier-25981-1045295597-0001-2
Content-Type: application/octet-stream; type=patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ipv6-module.diff"

--- net/ipv6/Makefile.orig 2003-02-14 23:43:31.000000000 -0800
+++ net/ipv6/Makefile 2003-02-14 23:43:39.000000000 -0800
@@ -8,8 +8,6 @@
route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o \
protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
exthdrs.o sysctl_net_ipv6.o datagram.o proc.o \
- ip6_flowlabel.o ipv6_syms.o
+ ip6_flowlabel.o ipv6_syms.o xfrm_policy.o

obj-$(CONFIG_NETFILTER) += netfilter/
-
-obj-y += xfrm_policy.o

--=_courier-25981-1045295597-0001-2--