diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2016-02-24 16:46:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-26 14:23:35 -0500 |
commit | 224638766235ba82c53b4216e4dabc510701fbf2 (patch) | |
tree | 593d446859b883db6cfb9f8926a28efc141e0a99 /drivers | |
parent | c3f463baae6eec589f7648604cafefdfe4b85288 (diff) |
GSO: Provide software checksum of tunneled UDP fragmentation offload
On reviewing the code I realized that GRE and UDP tunnels could cause a
kernel panic if we used GSO to segment a large UDP frame that was sent
through the tunnel with an outer checksum and hardware offloads were not
available.
In order to correct this we need to update the feature flags that are
passed to the skb_segment function so that in the event of UDP
fragmentation being requested for the inner header the segmentation
function will correctly generate the checksum for the payload if we cannot
segment the outer header.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions