aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAlexander Duyck <aduyck@mirantis.com>2016-01-24 21:16:35 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-18 10:37:15 -0800
commitc777019af1dc7343be8dc44bb4d32f5e2ef072dd (patch)
tree5c935087437c59fe2b3dd1ae3aeead7b7dc90d2a /lib/bitmap.c
parenti40e/i40evf: Factor out L4 header and checksum from L3 bits in TSO path (diff)
downloadwireguard-linux-c777019af1dc7343be8dc44bb4d32f5e2ef072dd.tar.xz
wireguard-linux-c777019af1dc7343be8dc44bb4d32f5e2ef072dd.zip
i40e/i40evf: Consolidate all header changes into TSO function
This patch goes through and pulls all of the spots where we were updating either the TCP or IP checksums in the TSO and checksum path into the TSO function. The general idea here is that we should only be updating the header after we verify we have completed a skb_cow_head check to verify the head is writable. One other advantage to doing this is that it makes things much more obvious. For example, in the case of IPv6 there was one spot where the offset of the IPv4 header checksum was being updated which is obviously incorrect. Signed-off-by: Alexander Duyck <aduyck@mirantis.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions