Ilan Tayari e51a647270 esp6: 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>
2017-08-02 11:00:15 +02:00
..
2017-04-12 22:02:40 +02:00
2017-08-01 20:09:10 -07:00
2017-08-01 15:26:19 -07:00
2017-07-18 11:13:41 -07:00
2017-08-01 15:26:19 -07:00
2017-07-21 16:26:01 -07:00
2017-07-18 11:13:41 -07:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00