Skip to content
Commit 5211fcfb authored by Shannon Nelson's avatar Shannon Nelson Committed by Steffen Klassert
Browse files

esp: check the NETIF_F_HW_ESP_TX_CSUM bit before segmenting



If I understand correctly, we should not be asking for a
checksum offload on an ipsec packet if the netdev isn't
advertising NETIF_F_HW_ESP_TX_CSUM.  In that case, we should
clear the NETIF_F_CSUM_MASK bits.

Signed-off-by: default avatarShannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent f8c3d0dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment