* [PATCH net-next] net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()
@ 2021-11-03 8:28 menglong8.dong
2021-11-03 14:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-11-03 8:28 UTC (permalink / raw)
To: yoshfuji; +Cc: davem, dsahern, kuba, netdev, linux-kernel, Menglong Dong
From: Menglong Dong <imagedong@tencent.com>
__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 <imagedong@tencent.com>
---
net/ipv6/udp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 8d785232b479..4fd8c87c607f 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -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;
}
}
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()
2021-11-03 8:28 [PATCH net-next] net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS() menglong8.dong
@ 2021-11-03 14:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-03 14:10 UTC (permalink / raw)
To: Menglong Dong
Cc: yoshfuji, davem, dsahern, kuba, netdev, linux-kernel, imagedong
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Wed, 3 Nov 2021 16:28:43 +0800 you wrote:
> From: Menglong Dong <imagedong@tencent.com>
>
> __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 <imagedong@tencent.com>
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-03 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 8:28 [PATCH net-next] net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS() menglong8.dong
2021-11-03 14:10 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.