[2.6.21-git2] sk_buff changes break Cisco VPN client

Alessandro Suardi
2007-04-28T20:38:49Z

skb_set_timestamp I can figure out, but the rest is a bit
too hard for me... if anyone has already an idea of how
to fix this, I'd be most grateful.

Cisco VPN client builds and works fine under 2.6.21 vanilla.

thanks in advance for any input ! ciao,

[root@sandman ~]# ciscobuild
make -C /share/src/linux-2.6.21-git2
SUBDIRS=/download/linux/net/vpnclient modules
make[1]: Entering directory `/share/src/linux-2.6.21-git2'
CC [M] /download/linux/net/vpnclient/linuxcniapi.o
/download/linux/net/vpnclient/linuxcniapi.c: In function 'CniInjectReceive':
/download/linux/net/vpnclient/linuxcniapi.c:299: warning: implicit
declaration of function 'skb_set_timestamp'
/download/linux/net/vpnclient/linuxcniapi.c:333: error: 'struct
sk_buff' has no member named 'nh'
/download/linux/net/vpnclient/linuxcniapi.c:334: error: 'struct
sk_buff' has no member named 'mac'
/download/linux/net/vpnclient/linuxcniapi.c: In function 'CniInjectSend':
/download/linux/net/vpnclient/linuxcniapi.c:456: error: 'struct
sk_buff' has no member named 'mac'
/download/linux/net/vpnclient/linuxcniapi.c:457: error: 'struct
sk_buff' has no member named 'nh'
/download/linux/net/vpnclient/linuxcniapi.c:460: error: 'struct
sk_buff' has no member named 'h'
/download/linux/net/vpnclient/linuxcniapi.c:460: error: 'struct
sk_buff' has no member named 'nh'
make[2]: *** [/download/linux/net/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/download/linux/net/vpnclient] Error 2
make[1]: Leaving directory `/share/src/linux-2.6.21-git2'
make: *** [default] Error 2

--alessandro

"Did you get married but forgot to get divorced ?"

(Danny and Dusty, 'The Good Old Days')