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

(-)linuxcniapi.bak (-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>
(-)frag.bak (-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>
(-)IPSecDrvOS_linux.bak (-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>
(-)interceptor.bak (-5 / +9 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-559 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,19)
557
       if(skb_checksum_help(skb))
558
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
557
       if (skb_checksum_help(skb,1))
559
       if (skb_checksum_help(skb,1))
558
#else
560
#else
559
       if (skb_checksum_help(&skb,1))
561
       if (skb_checksum_help(&skb,1))
Lines 677-685 Link Here
677
    tmp_InjectSend = NULL;
679
    tmp_InjectSend = NULL;
678
680
679
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
681
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
680
    if (skb->ip_summed == CHECKSUM_HW)
682
    if (skb->ip_summed == CHECKSUM_COMPLETE)
681
    {
683
    {
682
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
684
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
685
       if(skb_checksum_help(skb))
686
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
683
       if (skb_checksum_help(skb,0))
687
       if (skb_checksum_help(skb,0))
684
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
688
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
685
       if (skb_checksum_help(&skb,0))
689
       if (skb_checksum_help(&skb,0))

Return to bug 155837