diff options
author | 2017-08-01 12:49:04 +0300 | |
---|---|---|
committer | 2017-08-02 11:00:15 +0200 | |
commit | ec9567a9e008d1248e4d88f7ff1026ba68133621 (patch) | |
tree | 3eb8ee70dd6aca66d8570c9e4d11d31b489e425c /net/ipv6/xfrm6_input.c | |
parent | Merge branch 'dsa-rework-EEE-support' (diff) | |
download | wireguard-linux-ec9567a9e008d1248e4d88f7ff1026ba68133621.tar.xz wireguard-linux-ec9567a9e008d1248e4d88f7ff1026ba68133621.zip |
esp4: Support RX checksum with crypto offload
Keep the device's reported ip_summed indication in case crypto
was offloaded by the device. Subtract the csum values of the
stripped parts (esp header+iv, esp trailer+auth_data) to keep
value correct.
Note: CHECKSUM_COMPLETE should be indicated only if skb->csum
has the post-decryption offload csum value.
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_input.c')
0 files changed, 0 insertions, 0 deletions