From: Daniel Borkmann Date: Wed, 16 Oct 2013 08:02:32 +0000 Subject: Re: [PATCH v4 net 0/3] sctp: Use software checksum under certain Message-Id: <525E4818.2080101@redhat.com> List-Id: References: <1381888891-31186-1-git-send-email-vyasevich@gmail.com> In-Reply-To: <1381888891-31186-1-git-send-email-vyasevich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Vlad Yasevich Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, fan.du@windriver.com On 10/16/2013 04:01 AM, Vlad Yasevich wrote: > 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. > > Fan Du (1): > sctp: Use software crc32 checksum when xfrm transform will happen. > > Vlad Yasevich (2): > net: dst: provide accessor function to dst->xfrm > sctp: Perform software checksum if packet has to be fragmented. > > include/net/dst.h | 12 ++++++++++++ > net/sctp/output.c | 3 ++- > 2 files changed, 14 insertions(+), 1 deletion(-) > Acked-by: Daniel Borkmann