Skip to content
Commit cd027a54 authored by Jacek Kalwas's avatar Jacek Kalwas Committed by Steffen Klassert
Browse files

udp: enable UDP checksum offload for ESP



In case NIC has support for ESP TX CSUM offload skb->ip_summed is not
set to CHECKSUM_PARTIAL which results in checksum calculated by SW.

Fix enables ESP TX CSUM for UDP by extending condition with check for
NETIF_F_HW_ESP_TX_CSUM.

Signed-off-by: default avatarJacek Kalwas <jacek.kalwas@intel.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 5e596ee1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment