请教各位:
本人在将Linux 内核对ipsec的支持模块(也就是NETKEY)移植到ARM上的时候,遇到了如下的问题:
在交叉编译的时候,如下的module 已经在make menuconfig已经选中:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Networking --->
Networking options --->
Transformation user configuration interface
PF_KEY sockets
TCP/IP networking
IP: advanced router
IP: policy routing
IP: AH transformation
IP: ESP transformation
IP: IPComp transformation
IP: IPsec transport mode
IP: IPsec tunnel mode
IP: IPsec BEET mode (experimental)
The IPv6 protocol
IPv6: AH transformation
IPv6: ESP transformation
IPv6: IPComp transformation
IPv6: IPsec transport mode
IPv6: IPsec tunnel mode
IPv6: IPsec BEET mode
IPv6: Multiple Routing Tables
Network packet filtering framework (Netfilter) --->
Core Netfilter Configuration
IPsec "policy" match support
Cryptographic API
Select algorithms you want to use...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
并且在生成的system.map中能够查到如下的symbol: skb_cow_data, pskb_put, skb_to_sgvec。
但是到了arm板上,却没法insmod esp4.ko, 提示的错误就是这些symbol未知。 我在arm上查看了/proc/kallsyms,的确没有这些symbol。
(这些symbol在net/xfrm_algo.c定义)
各位是否遇到过这个问题,请不吝赐教,谢谢!