Searched hist:cd027a5433d66734097adbd9d262c203471102a3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | ip_output.c | diff cd027a5433d66734097adbd9d262c203471102a3 Thu Apr 12 14:03:13 CDT 2018 Jacek Kalwas <jacek.kalwas@intel.com> 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: Jacek Kalwas <jacek.kalwas@intel.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
|