Re: 2.5.61: ipv6 as module fails: xfrm6_get_type

Kunihiro Ishiguro
2003-02-15T07:42:34Z

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

>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.

[-- Attachment #2: ipv6-module.diff --]
[-- Type: application/octet-stream, Size: 445 bytes --]

--- 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