From ff0f13be619dafe05ca0a216f79368d4c793a420 Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 29 Aug 2010 18:50:30 +0000 Subject: Fix the the SCTP_WITH_NO_CSUM option when used in combination with interface supporting CRC offload. While at it, make use of the feature that the loopback interface provides CRC offloading. MFC after: 4 weeks --- sys/netinet/sctp_sysctl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netinet/sctp_sysctl.h') diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h index 477ee36..1140b97 100644 --- a/sys/netinet/sctp_sysctl.h +++ b/sys/netinet/sctp_sysctl.h @@ -45,7 +45,9 @@ struct sctp_sysctl { uint32_t sctp_ecn_enable; uint32_t sctp_ecn_nonce; uint32_t sctp_strict_sacks; +#if !defined(SCTP_WITH_NO_CSUM) uint32_t sctp_no_csum_on_loopback; +#endif uint32_t sctp_strict_init; uint32_t sctp_peer_chunk_oh; uint32_t sctp_max_burst_default; -- cgit v1.1