mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix the build after r353458.
MFC with: r353458 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9f15304d32
commit
bff630d1dc
1 changed files with 5 additions and 1 deletions
|
|
@ -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, struct ifnet *oifp,
|
|||
}
|
||||
#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
|
||||
|
|
|
|||
Loading…
Reference in a new issue