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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2022 11:24:39 +0000 (11:24 +0000)
commit4cf91f825b2777f81799f98ce32172b829acd1b2
tree3213734eadaf0e18f939a48ac8c4c42bdd9f826d
parenta1b86c5de725b18ec71656ad14f20955e75875a8
ipv6: Add reasons for skb drops to __udp6_lib_rcv

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>
net/ipv6/udp.c