Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 13:30:37 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254857 - head/sys/sys
Message-ID:  <201308251330.r7PDUbPi002269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251330.r7PDUbPi002269>