Thank you for incorporating the comments.

Applied on master!

--
Alin.

-----Original Message-----
From: dev <[email protected]> On Behalf Of Wilson Peng
Sent: Wednesday, November 9, 2022 3:35 AM
To: [email protected]
Subject: [ovs-dev] [PATCH v2 1/1] datapath-windows: Check the condition to
reset pseudo header checksum on Rx side

From: Wilson Peng <[email protected]>

If ovs node running on Windows is processing NAT action on the RX side,  it
will reset pseudo header checksum only if the L4 checksum is same as the
calculated pseudo header checksum before NAT action.

Without the fix, if the L4 header checksum is filled with a pseudo header
checksum (sourceip, dstip, protocol, tcppayloadlen+tcpheaderlen) OVS will
still do the checksum update(replace some IP and port and recalculate the
checksum). It will lead to incorrect L4 header checksum.

Reported-at:https://github.com/openvswitch/ovs-issues/issues/265
Signed-off-by: Wilson Peng <[email protected]>
---

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to