net: Update remote checksum segmentation to support use of GSO checksum
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 5 Feb 2016 23:27:43 +0000 (15:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 13:55:33 +0000 (08:55 -0500)
commit7fbeffed77c130ecf64e8a2f7f9d6d63a9d60a19
tree42636ed2f16d1317554f3aa4f5b6915df83b47bf
parent76443456227097179c14826425f88a95d81a892e
net: Update remote checksum segmentation to support use of GSO checksum

This patch addresses two main issues.

First in the case of remote checksum offload we were avoiding dealing with
scatter-gather issues.  As a result it would be possible to assemble a
series of frames that used frags instead of being linearized as they should
have if remote checksum offload was enabled.

Second I have updated the code so that we now let GSO take care of doing
the checksum on the data itself and drop the special case that was added
for remote checksum offload.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
net/ipv4/udp_offload.c
This page took 0.025108 seconds and 5 git commands to generate.