svn commit: r238121 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed Jul 4 20:29:17 UTC 2012
Author: tuexen
Date: Wed Jul 4 20:29:16 2012
New Revision: 238121
URL: http://svn.freebsd.org/changeset/base/238121
Log:
Use CSUM_SCTP_IPV6 for IPv6.
MFC after: 3 days
Modified:
head/sys/netinet/sctp_output.c
Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c Wed Jul 4 20:20:48 2012 (r238120)
+++ head/sys/netinet/sctp_output.c Wed Jul 4 20:29:16 2012 (r238121)
@@ -4471,7 +4471,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
@@ -11025,7 +11025,7 @@ sctp_send_resp_msg(struct sockaddr *src,
#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-all
mailing list