From: Michał Mirosław Date: Wed, 13 Jul 2011 14:10:29 +0000 (+0000) Subject: net: sctp: fix checksum marking for outgoing packets X-Git-Tag: v3.0~21^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73c43f884b1b26ef8e824a33f3924f92e493c11;p=pandora-kernel.git net: sctp: fix checksum marking for outgoing packets Packets to devices without NETIF_F_SCTP_CSUM (including NETIF_F_NO_CSUM) should be properly checksummed because the packets can be diverted or rerouted after construction. This still leaves packets diverted from NETIF_F_SCTP_CSUM-enabled devices with broken checksums. Fixing this needs implementing software offload fallback in networking core. For users of sctp_checksum_disable, skb->ip_summed should be left as CHECKSUM_NONE and not CHECKSUM_UNNECESSARY as per include/linux/skbuff.h. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller --- Reading git-diff-tree failed