Skip to contentSkip to conversation

2.5.61: ipv6 as module fails: xfrm6_get_type

DISCUSSION Kunihiro Ishiguro 1 participant 1 message Feb 15, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

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.

ipv6/Makefile renamed from ipv6/Makefile.orig +1 -3
@@ -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