search for: hdrsize

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

Did you mean: hdr_size
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found
2005 Oct 14
5
[PATCH] Fix NAT for domU checksum offload
...port; 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 { + hdr->check = ip_nat_cheat_chec...