Michał Mirosław b73c43f884 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 <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-07-14 15:16:31 -07:00
..
2011-03-31 11:26:23 -03:00
2011-05-21 02:10:23 -04:00
2010-08-26 14:11:48 -07:00
2011-04-22 11:04:14 -07:00
2010-08-26 14:11:48 -07:00
2010-08-26 14:11:48 -07:00
2011-05-24 01:13:12 -04:00
2010-11-10 12:12:00 -08:00
2011-03-31 11:26:23 -03:00