svn commit: r238296 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Jul 9 13:21:50 UTC 2012


Author: tuexen
Date: Mon Jul  9 13:21:49 2012
New Revision: 238296
URL: http://svn.freebsd.org/changeset/base/238296

Log:
  MFC r238121:
  Use CSUM_SCTP_IPV6 for IPv6.
  
  Approved by: re@

Modified:
  stable/9/sys/netinet/sctp_output.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_output.c
==============================================================================
--- stable/9/sys/netinet/sctp_output.c	Mon Jul  9 11:53:06 2012	(r238295)
+++ stable/9/sys/netinet/sctp_output.c	Mon Jul  9 13:21:49 2012	(r238296)
@@ -4478,7 +4478,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
 #if defined(SCTP_WITH_NO_CSUM)
 				SCTP_STAT_INCR(sctps_sendnocrc);
 #else
-				m->m_pkthdr.csum_flags = CSUM_SCTP;
+				m->m_pkthdr.csum_flags = CSUM_SCTP_IPV6;
 				m->m_pkthdr.csum_data = 0;
 				SCTP_STAT_INCR(sctps_sendhwcrc);
 #endif
@@ -11120,7 +11120,7 @@ sctp_send_resp_msg(struct mbuf *m, struc
 #if defined(SCTP_WITH_NO_CSUM)
 			SCTP_STAT_INCR(sctps_sendnocrc);
 #else
-			mout->m_pkthdr.csum_flags = CSUM_SCTP;
+			mout->m_pkthdr.csum_flags = CSUM_SCTP_IPV6;
 			mout->m_pkthdr.csum_data = 0;
 			SCTP_STAT_INCR(sctps_sendhwcrc);
 #endif


More information about the svn-src-stable-9 mailing list