summaryrefslogtreecommitdiffstats
path: root/net/ipv4/gre_offload.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-01-16 13:59:17 +0800
committerJakub Kicinski <kuba@kernel.org>2021-01-20 22:14:59 -0800
commit4eb5d4a5b4d64bb9495141b2f323caf7524ef8a6 (patch)
tree121e7cd32e262cae296ba0b26c1ce038b57fce61 /net/ipv4/gre_offload.c
parent7baf2429a1a965369b0ce44efb6315cdd515aa9c (diff)
downloadlinux-4eb5d4a5b4d64bb9495141b2f323caf7524ef8a6.tar.gz
linux-4eb5d4a5b4d64bb9495141b2f323caf7524ef8a6.tar.bz2
linux-4eb5d4a5b4d64bb9495141b2f323caf7524ef8a6.zip
udp: not remove the CRC flag from dev features when need_csum is false
In __skb_udp_tunnel_segment(), when it's a SCTP over VxLAN/GENEVE packet and need_csum is false, which means the outer udp checksum doesn't need to be computed, csum_start and csum_offset could be used by the inner SCTP CRC CSUM for SCTP HW CRC offload. So this patch is to not remove the CRC flag from dev features when need_csum is false. Signed-off-by: Xin Long <lucien.xin@gmail.com> Link: https://lore.kernel.org/r/1e81b700642498546eaa3f298e023fd7ad394f85.1610776757.git.lucien.xin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/gre_offload.c')
0 files changed, 0 insertions, 0 deletions