From: Tom Herbert Date: Thu, 28 Aug 2014 04:26:46 +0000 (-0700) Subject: net: Clarification of CHECKSUM_UNNECESSARY X-Git-Tag: fixes-against-v3.18-rc2~81^2~192^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77cffe23c1f88835f6bd7b47bfa0c060c2969828;p=pandora-kernel.git net: Clarification of CHECKSUM_UNNECESSARY This patch: - Clarifies the specific requirements of devices returning CHECKSUM_UNNECESSARY (comments in skbuff.h). - Adds csum_level field to skbuff. This is used to express how many checksums are covered by CHECKSUM_UNNECESSARY (stores n - 1). This replaces the overloading of skb->encapsulation, that field is is now only used to indicate inner headers are valid. - Change __skb_checksum_validate_needed to "consume" each checksum as indicated by csum_level as layers of the the packet are parsed. - Remove skb_pop_rcv_encapsulation, no longer needed in the new csum_level model. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed