Cisco vpnclient-linux 4.7.00.0640-k9 & kernel-2.6.14-1.1637_FC4

Erwin J. Prinz ejprinz at austin.rr.com
Sat Nov 12 18:07:31 UTC 2005


Terry:

The files

        /lib/modules/2.6.13-1.1532_FC4/build/include/linux/skbuff.h
        /lib/modules/2.6.14-1.1637_FC4/build/include/linux/skbuff.h

        /lib/modules/2.6.14-1.1637_FC4/build/include/linux/time.h
        /lib/modules/2.6.14-1.1637_FC4/build/include/linux/types.h

show that a structure "sk_buff" has changed the "stamp" field into 
"tstamp" with a different type, going from 2.6.14 from 2.6.13. This 
affects the function call to
    extern void do_gettimeofday(struct timeval *tv);

in the file "linuxcniapi.c" in the vpnclient directory.

The enclosed patch file casts the types returned by do_gettimeofday into 
the types required for skb->tstamp. There are still some warnings for 
incompatible pointers in the file "interceptor.c". I think they are 
related to the same structure. But, the compiled vpn seems to work 
without the warnings.

I applied the patch as follows:

tar -xf vpnclient-linux-4.7.00.0640-k9.tar
cd vpnclient
patch < (patch file name)
vpn_install

Hope this helps, Erwin



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vpnclient-linux-4.6.02.0030-k9_linuxcniapi.c_patch_for_2.6.14
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051112/464bc571/attachment-0001.ksh>


More information about the fedora-list mailing list