Xin Long f52a40fb41 ipvs: get sctphdr by sctphoff in sctp_csum_check
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().

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2019-03-01 14:28:44 +01:00
..
2017-03-17 12:49:43 +01:00
2015-08-21 09:08:39 -07:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2019-02-12 11:24:01 +01:00