diff options
author | Tom Herbert <therbert@google.com> | 2014-06-10 18:54:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 15:46:13 -0700 |
commit | 7e3cead5172927732f51fde77fef6f521e22f209 (patch) | |
tree | 7b7cad61aa68ba302c395b9a1ea3dafb69881d0d /net/ipv4/udp_offload.c | |
parent | 5d0c2b95bc57cf8fdc0e7b3e9d7e751eb65ad052 (diff) |
net: Save software checksum complete
In skb_checksum complete, if we need to compute the checksum for the
packet (via skb_checksum) save the result as CHECKSUM_COMPLETE.
Subsequent checksum verification can use this.
Also, added csum_complete_sw flag to distinguish between software and
hardware generated checksum complete, we should always be able to trust
the software computation.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp_offload.c')
0 files changed, 0 insertions, 0 deletions