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 20:49:46 +0100
commitba49ad50c0b92dfc2efd97d45bb6e2931dd9aaa3 (patch)
tree0890acb13394ed1bd1ae83e6c7b293acc7ae7823 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent4666ba9da903bfccd3e61105cb529b0871f2e250 (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