Re: vmware & cisco-vpn for 2.6.19-1.2895.fc6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 19 Jan 2007 16:40:50 +0100, Jacob (=Jouk) Jansen wrote:

> Hi all,
>    
>    I found the following problems compiling modules for vmware and cisco-vpn
> for 2.6.19-1.2895.fc6 :
>     
>     1) vmware uses somewhere CHECKSUM_HW. This used to be defined in
> /usr/src/kernels/2.6.19-1.2895.fc6-i686/include/linux/skbuff.h. I had to add
> "#define CHECKSUM_HW 1".
> 	 
>     2) ciscovpn : in interceptor.c the function skb_checksum_help is called
> with 2 arguments. This has been changed to 1. leaving out the second
> argument did help.
> 	 
>        
> 	 
>   I do not like this at all. I like "backwards-compatibility" very very
> much, so that you will not break "old" code.
>       
>                     Jouk

I entirely agree with you.  Thanks for the note.  It looks like vpn has
incorporated the change regarding CHECKSUM_HW:

+// With linux 2.6.19, they renamed CHECKSUM_HW to CHECKSUM_COMPLETE
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
+  #define CHECKSUM_HW CHECKSUM_COMPLETE
+  #define SKB_CHECKSUM_HELP(a,b)	skb_checksum_help((a))
+#else
+  #define SKB_CHECKSUM_HELP(a,b)	skb_checksum_help((a),(b))
+#endif

Hope vmware provides a fix so that we do not have to adjust the kernel
file each time it is updated.

Akemi

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux