From: Paul Durrant Date: Tue, 3 Dec 2013 17:39:29 +0000 (+0000) Subject: xen-netback: fix fragment detection in checksum setup X-Git-Tag: v3.13-rc4~3^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1431fb31ecbaba1b5718006128f0f2ed0b94e1c3;p=pandora-kernel.git xen-netback: fix fragment detection in checksum setup The code to detect fragments in checksum_setup() was missing for IPv4 and too eager for IPv6. (It transpires that Windows seems to send IPv6 packets with a fragment header even if they are not a fragment - i.e. offset is zero, and M bit is not set). This patch also incorporates a fix to callers of maybe_pull_tail() where skb->network_header was being erroneously added to the length argument. Signed-off-by: Paul Durrant Signed-off-by: Zoltan Kiss Cc: Wei Liu Cc: Ian Campbell Cc: David Vrabel cc: David Miller Acked-by: Wei Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed