From: Tom Herbert Date: Fri, 2 May 2014 23:29:18 +0000 (-0700) Subject: net: Generalize checksum_init functions X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~278^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76ba0aae673075c77a8b775e9133c8e8b1a44563;p=pandora-kernel.git net: Generalize checksum_init functions Create a general __skb_checksum_validate function (actually a macro) to subsume the various checksum_init functions. This function can either init the checksum, or do the full validation (logically checksum_init+skb_check_complete)-- a flag specifies if full vaidation is performed. Also, there is a flag to the function to indicate that zero checksums are allowed (to support optional UDP checksums). Added several stub functions for calling __skb_checksum_validate. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed