svn commit: r254857 - head/sys/sys
Andre Oppermann
andre at FreeBSD.org
Sun Aug 25 13:30:37 UTC 2013
Author: andre
Date: Sun Aug 25 13:30:37 2013
New Revision: 254857
URL: http://svnweb.freebsd.org/changeset/base/254857
Log:
Fix CSUM compatibility mapping. SCTP is a layer 4 protocol.
Submitted by: tuexen
Modified:
head/sys/sys/mbuf.h
Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h Sun Aug 25 13:10:03 2013 (r254856)
+++ head/sys/sys/mbuf.h Sun Aug 25 13:30:37 2013 (r254857)
@@ -418,7 +418,7 @@ struct mbuf {
#define CSUM_IP_VALID CSUM_L3_VALID
#define CSUM_DATA_VALID CSUM_L4_VALID
#define CSUM_PSEUDO_HDR CSUM_L4_CALC
-#define CSUM_SCTP_VALID CSUM_L3_VALID
+#define CSUM_SCTP_VALID CSUM_L4_VALID
#define CSUM_DELAY_DATA (CSUM_TCP|CSUM_UDP)
#define CSUM_DELAY_IP CSUM_IP /* Only v4, no v6 IP hdr csum */
#define CSUM_DELAY_DATA_IPV6 (CSUM_TCP_IPV6|CSUM_UDP_IPV6)
More information about the svn-src-all
mailing list