[ovs-git] [openvswitch/ovs] 8e808e: datapath-windows:Correct checksum for DNAT action
pweisong
noreply at github.com
Wed Jul 21 10:01:07 UTC 2021
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 8e808e7f149f88427242ec0e60f2b003d37d1e47
https://github.com/openvswitch/ovs/commit/8e808e7f149f88427242ec0e60f2b003d37d1e47
Author: Wilson Peng <pweisong at vmware.com>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M datapath-windows/ovsext/Actions.c
Log Message:
-----------
datapath-windows:Correct checksum for DNAT action
While testing OVS-windows flows for the DNAT action, the checksum
In TCP header is set incorrectly when TCP offload is enabled by
Default. As a result, the packet will be dropped on receiver linuxVM.
>>>sample flow default configuration on both Windows VM and Linux VM
(src=40.0.1.2,dst=10.150.0.1) --dnat--> (src=40.0.1.2,dst==30.1.0.2)
Without the fix for some TCP packet(40.0.1.2->30.1.0.2 with payload
len 207) the TCP checksum will be pseduo header checksum and the value
is 0x01d6. With the fix the checksum will be 0x47ee, it could be got
the correct TCP checksum on the receiver Linux VM.
Signed-off-by: Wilson Peng<pweisong at vmware.com>
Signed-off-by: Anand Kumar<kumaranand at vmware.com>
Acked-by: Alin-Gabriel Serdean <aserdean at ovn.org>
Signed-off-by: Alin-Gabriel Serdean <aserdean at ovn.org>
More information about the git
mailing list