ia64/xen-unstable

annotate patches/linux-2.6.12/net-csum.patch @ 6879:97dbd9524a7e

Patches and recipe to build an elilo.efi that will boot domain0 with initrd
and pre-built "xlilo.efi". Courtesy of Anthony Xu and Fred Yang.
author djm@kirby.fc.hp.com
date Thu Sep 22 11:34:14 2005 -0600 (2005-09-22)
parents 9af349b055e5
children 3233e7ecfa9f 06d84bf87159
rev   line source
kaf24@5184 1 diff -ur linux-2.6.11/net/ipv4/netfilter/ip_conntrack_proto_udp.c linux-2.6.11-csum/net/ipv4/netfilter/ip_conntrack_proto_udp.c
kaf24@5184 2 --- linux-2.6.11/net/ipv4/netfilter/ip_conntrack_proto_udp.c 2005-05-27 11:47:48 +01:00
kaf24@5184 3 +++ linux-2.6.11-csum/net/ipv4/netfilter/ip_conntrack_proto_udp.c 2005-05-27 11:48:07 +01:00
kaf24@5184 4 @@ -120,6 +120,7 @@
kaf24@5184 5 * and moreover root might send raw packets.
kaf24@5184 6 * FIXME: Source route IP option packets --RR */
kaf24@5184 7 if (hooknum == NF_IP_PRE_ROUTING
kaf24@5184 8 + && skb->ip_summed != CHECKSUM_UNNECESSARY
kaf24@5184 9 && csum_tcpudp_magic(iph->saddr, iph->daddr, udplen, IPPROTO_UDP,
kaf24@5184 10 skb->ip_summed == CHECKSUM_HW ? skb->csum
kaf24@5184 11 : skb_checksum(skb, iph->ihl*4, udplen, 0))) {