Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 155837 | Differences between
and this patch

Collapse All | Expand All

(-)./vpnclient.orig/frag.c (-1 / +1 lines)
Lines 1-4 Link Here
1
#include <linux/config.h>
1
#include <linux/autoconf.h>
2
#include <linux/version.h>
2
#include <linux/version.h>
3
#include <linux/netdevice.h>
3
#include <linux/netdevice.h>
4
#include <linux/etherdevice.h>
4
#include <linux/etherdevice.h>
(-)./vpnclient.orig/interceptor.c (-5 / +5 lines)
Lines 8-14 Link Here
8
***************************************************************************
8
***************************************************************************
9
* This module implements the linux driver.
9
* This module implements the linux driver.
10
***************************************************************************/
10
***************************************************************************/
11
#include <linux/config.h>
11
#include <linux/autoconf.h>
12
#include <linux/version.h>
12
#include <linux/version.h>
13
#include <linux/module.h>
13
#include <linux/module.h>
14
#include <linux/init.h>
14
#include <linux/init.h>
Lines 550-556 Link Here
550
        goto exit_gracefully;
550
        goto exit_gracefully;
551
    }
551
    }
552
552
553
    if (skb->ip_summed == CHECKSUM_HW)
553
    if (skb->ip_summed == CHECKSUM_COMPLETE)
554
    {
554
    {
555
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
555
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
556
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
556
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
Lines 554-560 Link Here
554
    {
554
    {
555
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
555
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
556
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
556
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
557
       if (skb_checksum_help(skb,1))
557
       if (skb_checksum_help(skb))
558
#else
558
#else
559
       if (skb_checksum_help(&skb,1))
559
       if (skb_checksum_help(&skb,1))
560
#endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
560
#endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
Lines 677-683 Link Here
677
    tmp_InjectSend = NULL;
677
    tmp_InjectSend = NULL;
678
678
679
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
679
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
680
    if (skb->ip_summed == CHECKSUM_HW)
680
    if (skb->ip_summed == CHECKSUM_COMPLETE)
681
    {
681
    {
682
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
682
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
683
       if (skb_checksum_help(skb,0))
683
       if (skb_checksum_help(skb,0))
Lines 680-686 Link Here
680
    if (skb->ip_summed == CHECKSUM_COMPLETE)
680
    if (skb->ip_summed == CHECKSUM_COMPLETE)
681
    {
681
    {
682
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
682
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
683
       if (skb_checksum_help(skb,0))
683
       if (skb_checksum_help(skb))
684
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
684
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
685
       if (skb_checksum_help(&skb,0))
685
       if (skb_checksum_help(&skb,0))
686
#else
686
#else
(-)./vpnclient.orig/IPSecDrvOS_linux.c (-1 / +1 lines)
Lines 11-17 Link Here
11
*   
11
*   
12
*
12
*
13
***************************************************************************/
13
***************************************************************************/
14
#include <linux/config.h>
14
#include <linux/autoconf.h>
15
#include <linux/version.h>
15
#include <linux/version.h>
16
#include <linux/vmalloc.h>
16
#include <linux/vmalloc.h>
17
#include <linux/sched.h>
17
#include <linux/sched.h>
(-)./vpnclient.orig/linuxcniapi.c (-1 / +1 lines)
Lines 9-15 Link Here
9
 * This module implements a translation layer between the CNI API and the
9
 * This module implements a translation layer between the CNI API and the
10
 * Linux Interceptor driver.
10
 * Linux Interceptor driver.
11
 ***************************************************************************/
11
 ***************************************************************************/
12
#include <linux/config.h>
12
#include <linux/autoconf.h>
13
#include <linux/version.h>
13
#include <linux/version.h>
14
#include <linux/netdevice.h>
14
#include <linux/netdevice.h>
15
#include <linux/if.h>
15
#include <linux/if.h>

Return to bug 155837