]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb45b6e7c716adf82e9e052bdfb2adc304b50ac5
treebf5d26559a9cdb4c00ec2bb15b1ea2c18e214a8e
parent52558ed5daa993e38db57527991192ced3fbbcb0
parent22eb69385ac3e2f135d7fe44895269079aa817be
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>