svn commit: r353460 - head/sys/netpfil/pf
Mark Johnston
markj at FreeBSD.org
Sun Oct 13 00:08:18 UTC 2019
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
More information about the svn-src-all
mailing list