diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-02-25 14:27:43 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-01 16:28:44 +0300 |
commit | f52a40fb410b2c03f9fe486f42e840d688dddfa5 (patch) | |
tree | 1b6be4d36579a98a83c24450d7d053f20295d135 /net/phonet | |
parent | 11d4dd0b20041289e60f0642d458b96389b3125d (diff) | |
download | linux-f52a40fb410b2c03f9fe486f42e840d688dddfa5.tar.xz |
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>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions