diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2026-01-16 13:32:13 +0100 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2026-01-16 13:36:53 +0100 |
| commit | bbd30927b1af44226c8de0512912a7fedfce2824 (patch) | |
| tree | f1cb6c926b9065cf96a0c94a82b211470dacc1c2 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 77a6992bf5329e32b0b77608421dafccb125ad37 (diff) | |
bge: disable TXCSUM if UDP transmit checksum offloading is disabled
The bge interface is special with respect to transmit checksumi
offloading. In the default settings, an bge interface announces TXCSUM
capabilities, but only supports TCP/IPv4 and not UDP/IPv4 due to
limitations of some of the NICs. This results in problems when the bge
interface becomes a member of a bridge. Since currently only the
TXCSUM capabilities are synced when a member is added to a bridge and
not the protocol specific capabilities, this can result in a situation
where UDP packets are sent out using a bge interface without having a
correct checksum.
To mitigate this problem, initially don't announce TXCSUM capabilities,
when UDP transmit checksum is disabled. It is still possible to enable
TXCSUM capabilities via ifconfig.
PR: 291420
Reviewed by: Timo Voelker
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54486
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
