summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_forward.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-05-25 02:17:16 +0000
committerbz <bz@FreeBSD.org>2012-05-25 02:17:16 +0000
commitd52a8c3e3b79c626ae2a32941b4e87614b473316 (patch)
tree970211ad3b7eb3714243cd488a04d32a626a4702 /sys/netinet6/ip6_forward.c
parentbe5ba4a1c6b29919d741be32fb51b3137e7b545c (diff)
downloadFreeBSD-src-d52a8c3e3b79c626ae2a32941b4e87614b473316.zip
FreeBSD-src-d52a8c3e3b79c626ae2a32941b4e87614b473316.tar.gz
MFp4 bz_ipv6_fast:
Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers (which incl. fragmentation). Fix two SCTP offload support copy&paste bugs: calculate checksums if fragmenting and no need to flag IPv4 header checksums in the IPv6 forwarding path. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
Diffstat (limited to 'sys/netinet6/ip6_forward.c')
-rw-r--r--sys/netinet6/ip6_forward.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index bae418a..dfecdc1 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -586,8 +586,6 @@ skip_routing:
CSUM_DATA_VALID | CSUM_PSEUDO_HDR;
m->m_pkthdr.csum_data = 0xffff;
}
- m->m_pkthdr.csum_flags |=
- CSUM_IP_CHECKED | CSUM_IP_VALID;
#ifdef SCTP
if (m->m_pkthdr.csum_flags & CSUM_SCTP)
m->m_pkthdr.csum_flags |= CSUM_SCTP_VALID;
OpenPOWER on IntegriCloud