Hi!

Even with the patch I submitted, the resulting kernel does not compile:

  CC [M]  net/ipsec/ipsec_tunnel.o
net/ipsec/ipsec_tunnel.c: In function 'ipsec_tunnel_SAlookup':
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
make[3]: *** [net/ipsec/ipsec_tunnel.o] Error 1

It's missing the definition of "struct tcp_tw_bucket". This struct was
removed after 2.6.12.

                        struct tcp_tw_bucket *tw;

                        tw = (struct tcp_tw_bucket *)ixs->skb->sk;

This code knows that the struct sock pointed to by ixs->skb->sk is in
fact a struct tcp_tw_bucket. But what is it in 2.6.15? I don't know the
kernel, and I can't find out what to use in 2.6.15.

I've commented out that section to see if more problems exist in the
code.

Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear     |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?                               |
| Rockhound in "Armageddon", 1998, about the Space Shuttle               |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to