summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium
diff options
context:
space:
mode:
authorSean Tranchetti <stranche@codeaurora.org>2018-05-01 03:01:02 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-02 17:59:32 +0300
commit6c035ba7e73aba4536a1112f9a0901ab40aab460 (patch)
tree41eca4ee86b60fddaf011f56648e01bf7fcb245a /drivers/net/ethernet/cavium
parent702353b538f50f9a3b135473dbd7e45384bf941d (diff)
downloadlinux-6c035ba7e73aba4536a1112f9a0901ab40aab460.tar.xz
udp: Complement partial checksum for GSO packet
Using the udp_v4_check() function to calculate the pseudo header for the newly segmented UDP packets results in assigning the complement of the value to the UDP header checksum field. Always undo the complement the partial checksum value in order to match the case where GSO is not used on the UDP transmit path. Fixes: ee80d1ebe5ba ("udp: add udp gso") Signed-off-by: Sean Tranchetti <stranche@codeaurora.org> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium')
0 files changed, 0 insertions, 0 deletions