mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
o Delayed checksums are now calculated in divert_packet() for diverted packets
Remove the XXX-escaped code that did it in ip_output()'s IPHACK section.
This commit is contained in:
parent
1ac4e22cd3
commit
81007fd4eb
1 changed files with 0 additions and 10 deletions
|
|
@ -781,16 +781,6 @@ spd_done:
|
|||
else
|
||||
clone = NULL;
|
||||
|
||||
/*
|
||||
* 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 */
|
||||
ip->ip_len = htons(ip->ip_len);
|
||||
ip->ip_off = htons(ip->ip_off);
|
||||
|
|
|
|||
Loading…
Reference in a new issue