[Openswan Users] 2.4.1dr1 and 2.4.31

Kevin Clark kevin.clark at ubisoft.com
Tue Sep 20 17:15:25 CEST 2005


Heya,

Were the changes actually put in place for 2.4.1dr1 to solve the pfkey
compile issue?

We're attempting to use the 2.4.1dr1 code and it still seems
non-functional:

Kernel 2.4.31 && openswan 2.4.1dr1

pfkey_v2.c: In function `pfkey_release':
pfkey_v2.c:824: `pfkey_sock_lock' undeclared (first use in this
function)
pfkey_v2.c:824: (Each undeclared identifier is reported only once
pfkey_v2.c:824: for each function it appears in.)
make[2]: *** [pfkey_v2.o] Error 1

&&

#ifdef NET_26
HLIST_HEAD(pfkey_sock_list);
static DECLARE_WAIT_QUEUE_HEAD(pfkey_sock_wait);
static rwlock_t pfkey_sock_lock = RW_LOCK_UNLOCKED;
static atomic_t pfkey_sock_users = ATOMIC_INIT(0);
#else
extern struct proto_ops pfkey_ops;
struct sock *pfkey_sock_list = NULL;
#endif

pfkey_sock_lock is only declared if NET_26 is declared.

What's the deal yo?  >_<

K


More information about the Users mailing list