Re: [net] udp: enable UDP checksum offload for ESP

2018-04-18 Thread Steffen Klassert
On Thu, Apr 12, 2018 at 12:03:13PM -0700, Jacek Kalwas wrote: > 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_

[net] udp: enable UDP checksum offload for ESP

2018-04-12 Thread Jacek Kalwas
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 --- net/ipv4/ip_output.c | 2 +- 1