Merge branch 'sctp_csum'
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 19:25:13 +0000 (15:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 19:25:13 +0000 (15:25 -0400)
commit725907827a7f46dfb5df6e4f3d8f9bcbc9903877
treebf5d26559a9cdb4c00ec2bb15b1ea2c18e214a8e
parent6f93ac740ac27a77657e1276ca1fc7d277bcc61d
parentd2dbbba77e95dff4b4f901fee236fef6d9552072
Merge branch 'sctp_csum'

Vlad Yasevich says:

====================
sctp: Use software checksum under certain circumstances.

There are some cards that support SCTP checksum offloading.  When using
these cards with IPSec or forcing IP fragmentation of SCTP traffic,
the checksum is computed incorrectly due to the fact that xfrm and IP/IPv6
fragmentation code do not know that this is SCTP traffic and do not
know that checksum has to be computed differently.

To fix this, we let SCTP detect these conditions and perform software
checksum calculation.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>