Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2019 00:08:18 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353460 - head/sys/netpfil/pf
Message-ID:  <201910130008.x9D08Ij9002863@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Oct 13 00:08:17 2019
New Revision: 353460
URL: https://svnweb.freebsd.org/changeset/base/353460

Log:
  Fix the build after r353458.
  
  MFC with:	r353458
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/netpfil/pf/pf.c

Modified: head/sys/netpfil/pf/pf.c
==============================================================================
--- head/sys/netpfil/pf/pf.c	Sat Oct 12 23:16:17 2019	(r353459)
+++ head/sys/netpfil/pf/pf.c	Sun Oct 13 00:08:17 2019	(r353460)
@@ -103,6 +103,10 @@ __FBSDID("$FreeBSD$");
 #include <netinet6/scope6_var.h>
 #endif /* INET6 */
 
+#ifdef SCTP
+#include <netinet/sctp_crc32.h>
+#endif
+
 #include <machine/in_cksum.h>
 #include <security/mac/mac_framework.h>
 
@@ -5589,7 +5593,7 @@ pf_route(struct mbuf **m, struct pf_rule *r, int dir, 
 	}
 #ifdef SCTP
 	if (m0->m_pkthdr.csum_flags & CSUM_SCTP & ~ifp->if_hwassist) {
-		sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2));
+		sctp_delayed_cksum(m0, (uint32_t)(ip->ip_hl << 2));
 		m0->m_pkthdr.csum_flags &= ~CSUM_SCTP;
 	}
 #endif



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