search for: tcp_manip_pkt

Displaying 2 results from an estimated 2 matches for "tcp_manip_pkt".

2005 Oct 14
5
[PATCH] Fix NAT for domU checksum offload
...hdr->check)); + } + } *portptr = newport; return 1; } --- ../xen-unstable.hg/linux-2.6.12-xen0/net/ipv4/netfilter/ip_nat_proto_tcp.c 2005-06-17 14:48:29.000000000 -0500 +++ linux-2.6-xen-sparse/net/ipv4/netfilter/ip_nat_proto_tcp.c 2005-10-14 16:41:20.000000000 -0500 @@ -127,10 +127,16 @@ tcp_manip_pkt(struct sk_buff **pskb, if (hdrsize < sizeof(*hdr)) return 1; - hdr->check = ip_nat_cheat_check(~oldip, newip, + if ((*pskb)->proto_csum_blank) { + hdr->check = ip_nat_cheat_check(oldip, ~newip, + ip_nat_cheat_check(oldport ^ 0xFFFF, + newport, hdr->check)); + } else {...
2006 Apr 25
0
Pristine 2.6.16 kernel fails to build with hg9646 patches
...ch % cp ../config-2.6.16-1-amd64-k8 .config % make-kpkg --append-to-version -1-xen-3.2.0-d0 binary /usr/bin/make EXTRAVERSION=-1-xen-3.2.0-d0 ARCH=x86_64 \ bzImage <snip> CC [M] net/ipv4/netfilter/ip_nat_proto_tcp.o net/ipv4/netfilter/ip_nat_proto_tcp.c: In function `tcp_manip_pkt': net/ipv4/netfilter/ip_nat_proto_tcp.c:132: error: structure has no member named `proto_csum_blank' make[4]: *** [net/ipv4/netfilter/ip_nat_proto_tcp.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2 make[2]: *** [net/ipv4] Error 2 make[1]: *** [net] Error 2 make[1]: Leaving directory...