diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet/ip_output.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 9a983a1a4a89..60d34f7edeb5 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -506,6 +506,16 @@ sendit: if ((off & IP_FW_PORT_TEE_FLAG) != 0) clone = m_dup(m, M_DONTWAIT); + /* + * XXX + * delayed checksums are not currently compatible + * with divert sockets. + */ + if (m->m_pkthdr.csum_flags & CSUM_DELAY_DATA) { + in_delayed_cksum(m); + m->m_pkthdr.csum_flags &= ~CSUM_DELAY_DATA; + } + /* Restore packet header fields to original values */ HTONS(ip->ip_len); HTONS(ip->ip_off); |
