net: Move GSO csum into SKB_GSO_CB
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 5 Feb 2016 23:27:37 +0000 (15:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 13:55:33 +0000 (08:55 -0500)
commit76443456227097179c14826425f88a95d81a892e
tree770745f48a545fe145d6fe3abc0054f58b30eeaa
parentbef3c6c9374da40ec63698cd504474366a9de2ff
net: Move GSO csum into SKB_GSO_CB

This patch moves the checksum maintained by GSO out of skb->csum and into
the GSO context block in order to allow for us to work on outer checksums
while maintaining the inner checksum offsets in the case of the inner
checksum being offloaded, while the outer checksums will be computed.

While updating the code I also did a minor cleanu-up on gso_make_checksum.
The change is mostly to make it so that we store the values and compute the
checksum instead of computing the checksum and then storing the values we
needed to update.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
This page took 0.028365 seconds and 5 git commands to generate.