Skip to contentSkip to conversation

net-csum.patch

DISCUSSION Jan Beulich 2 participants 2 messages Jan 16, 2007

lore
Share & tools
lore
#0 lore raw

Would it be possible for the author/maintainer of this patch to suggest how the same effect is to be achieved on 2.6.20-rc5? ip_nat_cheat_check() is gone, and I have no clue...

Thanks, Jan

#1 lore raw

Looks like our life has been made easier. I suggest simply calling skb_checksum_setup() as defined (by us) in net/core/dev.c. skb_checksum_setup() will need some fixing up for 2.6.20-rc5 too -- perhaps just to use CHECKUM_PARTIAL instead of CHECKSUM_HW. I'd call it just before the first use of hdr->check in each of tcp_manip_pkt() and udp_manip_pkt().

Of course this certainly needs testing, as that's the only way you can have any confidence that changes to header mangling actually work.

-- Keir

Quoted 13 lines · Jan Beulich

Would it be possible for the author/maintainer of this patch to suggest how the
same effect is to be achieved on 2.6.20-rc5? ip_nat_cheat_check() is gone, and I have no clue...

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel