On Sat, Feb 25, 2006 at 07:51:06PM +0100, Patrick McHardy wrote: > > > I suppose you should treat CHECKSUM_UNNECESSARY as an indication that > > you need to recompute the checksum from scratch instead of adjusting > > it. So start by getting skb_checksum_help to only zap CHECKSUM_HW, > > and then test on this in the *_manip_pkt functions. > > We can check the secpath. But I fear you're right, the NAT protocol > modules need to fix up the checksum.
BTW if you're going to do this we should introduce a new CHECKSUM_* flag since CHECKSUM_UNNECESSARY are also used by certain NIC drivers that do limited hardware rx checksums. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html