diff options
author | 2016-12-05 15:33:57 +0100 | |
---|---|---|
committer | 2016-12-07 13:22:50 +0100 | |
commit | 3189a290f98d3d3b76536ab61e9ff95751ed8124 (patch) | |
tree | b1879d66182cab9d3ee67f70da3b14ed5e8e33d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: rpfilter: bypass ipv4 lbcast packets with zeronet source (diff) | |
download | linux-dev-3189a290f98d3d3b76536ab61e9ff95751ed8124.tar.xz linux-dev-3189a290f98d3d3b76536ab61e9ff95751ed8124.zip |
netfilter: nat: skip checksum on offload SCTP packets
SCTP GSO and hardware can do CRC32c computation after netfilter processing,
so we can avoid calling sctp_compute_checksum() on skb if skb->ip_summed
is equal to CHECKSUM_PARTIAL. Moreover, set skb->ip_summed to CHECKSUM_NONE
when the NAT code computes the CRC, to prevent offloaders from computing
it again (on ixgbe this resulted in a transmission with wrong L4 checksum).
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions