From: Xin Long <lucien....@gmail.com>
Date: Mon, 18 Mar 2019 19:47:00 +0800

> sctp_hdr(skb) only works when skb->transport_header is set properly.
> 
> But in Netfilter, skb->transport_header for ipv6 is not guaranteed
> to be right value for sctphdr. It would cause to fail to check the
> checksum for sctp packets.
> 
> So fix it by using offset, which is always right in all places.
> 
> v1->v2:
>   - Fix the changelog.
> 
> Fixes: e6d8b64b34aa ("net: sctp: fix and consolidate SCTP checksumming code")
> Reported-by: Li Shuang <shu...@redhat.com>
> Signed-off-by: Xin Long <lucien....@gmail.com>

Applied and queued up for -stable.

Reply via email to