diff options
author | David Wilder <dwilder@us.ibm.com> | 2021-06-22 14:52:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-23 12:54:11 -0700 |
commit | 7525de2516fba8661bdea409718708c711c5d5e1 (patch) | |
tree | 44f8fac170183c3911f2b859f325203971945b59 /net/dsa/tag_hellcreek.c | |
parent | fe87797bf245946e9d07e4a9ca1cd92f48a410d6 (diff) | |
download | linux-7525de2516fba8661bdea409718708c711c5d5e1.tar.gz linux-7525de2516fba8661bdea409718708c711c5d5e1.tar.bz2 linux-7525de2516fba8661bdea409718708c711c5d5e1.zip |
ibmveth: Set CHECKSUM_PARTIAL if NULL TCP CSUM.
TCP checksums on received packets may be set to NULL by the sender if CSO
is enabled. The hypervisor flags these packets as check-sum-ok and the
skb is then flagged CHECKSUM_UNNECESSARY. If these packets are then
forwarded the sender will not request CSO due to the CHECKSUM_UNNECESSARY
flag. The result is a TCP packet sent with a bad checksum. This change
sets up CHECKSUM_PARTIAL on these packets causing the sender to correctly
request CSUM offload.
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Reviewed-by: Pradeep Satyanarayana <pradeeps@linux.vnet.ibm.com>
Tested-by: Cristobal Forno <cforno12@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_hellcreek.c')
0 files changed, 0 insertions, 0 deletions