net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()
Subsystems (3)
PATCH 1/1 net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()
From: Menglong Dong <[email protected]>
__UDP_INC_STATS() is used in udpv6_queue_rcv_one_skb() when encap_rcv() fails. __UDP6_INC_STATS() should be used here, so replace it with __UDP6_INC_STATS().
Signed-off-by Menglong Dong <[email protected]>
--- net/ipv6/udp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
net/ipv6/udp.c +3 -3
@@ -700,9 +700,9 @@ static int udpv6_queue_rcv_one_skb(struct sock *sk, struct sk_buff *skb) ret =encap_rcv (sk, skb);if (ret <=0 ) { -__UDP_INC_STATS (sock_net (sk), -UDP_MIB_INDATAGRAMS , - is_udplite); +__UDP6_INC_STATS (sock_net (sk), +UDP_MIB_INDATAGRAMS , + is_udplite);return -ret; } }
Signature · 1 line
2.27.0
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 9 lines · On Wed, 3 Nov 2021 16:28:43 +0800 you wrote:
From: Menglong Dong <[email protected]>
__UDP_INC_STATS()is used inudpv6_queue_rcv_one_skb()whenencap_rcv()fails.__UDP6_INC_STATS()should be used here, so replace it with__UDP6_INC_STATS().Signed-off-by Menglong Dong <[email protected]>[...]
Here is the summary with links:
- [net-next] net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()
https://git.kernel.org/netdev/net/c/250962e46846
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html