summaryrefslogtreecommitdiff
path: root/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorTimo Völker <timo.voelker@fh-muenster.de>2025-12-19 17:50:20 +0100
committerMichael Tuexen <tuexen@FreeBSD.org>2026-01-21 13:46:28 +0100
commitfab0a83ff7484a069f04ec9c6b5657ec9676c7dd (patch)
treed02c6f13daa0174c946bff886e98fc29b976b821 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc1b29bcd789ebcb5c7b6a3aa10f00de3032cad06 (diff)
tcp: fix checksum calculation bug
The new function in_delayed_cksum_o() was introduced to compute the checksum in the case the mbuf chain does not start with the IP header. The offset of the IP header is specified by the parameter iph_offset. If iph_offset was positive, the function computed an incorrect checksum. Reviewed by: sobomax, tuexen Fixes: 5feb38e37847 ("netinet: provide "at offset" variant of the in_delayed_cksum() API") Differential Revision: https://reviews.freebsd.org/D54269 (cherry picked from commit c8b3b605ae854ead6c8804e0400d80cb8fa73fdf)
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions