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