]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: Add reasons for skb drops to __udp6_lib_rcv
authorDavid Ahern <dsahern@kernel.org>
Fri, 11 Feb 2022 17:15:07 +0000 (09:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:32 +0000 (12:22 +0200)
commit802008e8c73a5e2e2e6cc3e2d4bf52de0f3eb4ff
treeccdfa75380c06e647d9b94d0f3d93028e7ad0090
parent7dcbc0bb0e5cc1823923744befce59ac353135e6
ipv6: Add reasons for skb drops to __udp6_lib_rcv

[ Upstream commit 4cf91f825b2777f81799f98ce32172b829acd1b2 ]

Add reasons to __udp6_lib_rcv for skb drops. The only twist is that the
NO_SOCKET takes precedence over the CSUM or other counters for that
path (motivation behind this patch - csum counter was misleading).

Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 9c02bec95954 ("bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assign")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv6/udp.c