On Fri, 25 Oct 2013 11:05:05 +0200
Daniel Borkmann <dborkman@xxxxxxxxxx> wrote:
> Unlike UDP or TCP, we do not take the pseudo-header into account
> in SCTP checksums [1]. So in case port mapping is the very same, we
> do not need to recalculate the whole SCTP checksum in software, which
> is expensive.
>
> Also, similarly as in IPVS/TCP, take into account when a private
> helper mangled the packet. In that case, we also need to recalculate
> the checksum even if ports might be same.
>
> [1] http://tools.ietf.org/html/rfc4960#section-6.8
>
> Signed-off-by: Daniel Borkmann <dborkman@xxxxxxxxxx>
> ---
Acked-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
Thanks Daniel, this will hopefully increase SCTP performance as we
avoid recalculating the checksum when not necessary :-)
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Sr. Network Kernel Developer at Red Hat
Author of http://www.iptv-analyzer.org
LinkedIn: http://www.linkedin.com/in/brouer
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|