Message ID | 20220315091513.66544-2-pablo@netfilter.org (mailing list archive) |
---|---|
State | Accepted |
Commit | bbfbf7a5e77e4c899982c7df4cf3197cb6f99be4 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [nf-next,1/6] Revert "netfilter: conntrack: mark UDP zero checksum as CHECKSUM_UNNECESSARY" | expand |
Hello: This series was applied to netdev/net-next.git (master) by Florian Westphal <fw@strlen.de>: On Tue, 15 Mar 2022 10:15:08 +0100 you wrote: > From: Florian Westphal <fw@strlen.de> > > This reverts commit 5bed9f3f63f8f9d2b1758c24640cbf77b5377511. > > Gal Presman says: > this patch broke geneve tunnels, or possibly all udp tunnels? > A simple test that creates two geneve tunnels and runs tcp iperf fails > and results in checksum errors (TcpInCsumErrors). > > [...] Here is the summary with links: - [nf-next,1/6] Revert "netfilter: conntrack: mark UDP zero checksum as CHECKSUM_UNNECESSARY" https://git.kernel.org/netdev/net-next/c/bbfbf7a5e77e - [nf-next,2/6] netfilter: nf_tables: Reject tables of unsupported family https://git.kernel.org/netdev/net-next/c/f1082dd31fe4 - [nf-next,3/6] netfilter: flowtable: Support GRE https://git.kernel.org/netdev/net-next/c/4e8d9584d154 - [nf-next,4/6] act_ct: Support GRE offload https://git.kernel.org/netdev/net-next/c/fcb6aa86532c - [nf-next,5/6] net/mlx5: Support GRE conntrack offload https://git.kernel.org/netdev/net-next/c/1918ace1382d - [nf-next,6/6] netfilter: bridge: clean up some inconsistent indenting https://git.kernel.org/netdev/net-next/c/334ff12284fc You are awesome, thank you!
diff --git a/net/netfilter/nf_conntrack_proto_udp.c b/net/netfilter/nf_conntrack_proto_udp.c index 12f793d8fe0c..3b516cffc779 100644 --- a/net/netfilter/nf_conntrack_proto_udp.c +++ b/net/netfilter/nf_conntrack_proto_udp.c @@ -63,10 +63,8 @@ static bool udp_error(struct sk_buff *skb, } /* Packet with no checksum */ - if (!hdr->check) { - skb->ip_summed = CHECKSUM_UNNECESSARY; + if (!hdr->check) return false; - } /* Checksum invalid? Ignore. * We skip checking packets on the outgoing path