Re: [PATCH 22/25] xen: xen-netfront: use skb.cb for storing private data

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

 



Herbert Xu wrote:
> BTW, the version I posted to you is missing the following line.
>   
> --- linux-2.6.20.i386/drivers/xen/core/skbuff.c	2007-04-28 15:30:16.000000000 +1000
> +++ build-2.6.20.i386/drivers/xen/core/skbuff.c	2007-04-28 15:30:52.000000000 +1000
> @@ -89,6 +89,7 @@
>  	skb->h.raw = (unsigned char *)skb->nh.iph + 4*skb->nh.iph->ihl;
>  	if (skb->h.raw >= skb->tail)
>  		goto out;
> +	skb->csum_start = skb->h.raw - skb->head;
>  	switch (skb->nh.iph->protocol) {
>  	case IPPROTO_TCP:
>  		skb->csum_offset = offsetof(struct tcphdr, check);
>   

drivers/xen/core/skbuff.c?  What's that?

    J
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux