[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190301133310.v7b57vwjrvhnkibm@salvia>
Date: Fri, 1 Mar 2019 14:33:10 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>,
netfilter-devel@...r.kernel.org,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Neil Horman <nhorman@...driver.com>
Subject: Re: [PATCH net] ipvs: get sctphdr by sctphoff in sctp_csum_check
On Mon, Feb 25, 2019 at 07:27:43PM +0800, Xin Long wrote:
> sctp_csum_check() is called by sctp_s/dnat_handler() where it calls
> skb_make_writable() to ensure sctphdr to be linearized.
>
> So there's no need to get sctphdr by calling skb_header_pointer()
> in sctp_csum_check().
Applied, thanks.
Powered by blists - more mailing lists