diff options
| author | Xin Long <[email protected]> | 2019-02-25 19:27:43 +0800 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2019-03-01 14:28:44 +0100 |
| commit | f52a40fb410b2c03f9fe486f42e840d688dddfa5 (patch) | |
| tree | 1b6be4d36579a98a83c24450d7d053f20295d135 /tools/perf/scripts/python | |
| parent | 11d4dd0b20041289e60f0642d458b96389b3125d (diff) | |
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 <[email protected]>
Reviewed-by: Marcelo Ricardo Leitner <[email protected]>
Acked-by: Julian Anastasov <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions