* [PATCH net] net: ipv6: fix returned variable type in ip6_skb_dst_mtu
@ 2021-08-03 10:00 Antoine Tenart
2021-08-03 12:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Antoine Tenart @ 2021-08-03 10:00 UTC (permalink / raw)
To: davem, kuba; +Cc: Antoine Tenart, netdev, Vadim Fedorenko
The patch fixing the returned value of ip6_skb_dst_mtu (int -> unsigned
int) was rebased between its initial review and the version applied. In
the meantime fade56410c22 was applied, which added a new variable (int)
used as the returned value. This lead to a mismatch between the function
prototype and the variable used as the return value.
Fixes: 40fc3054b458 ("net: ipv6: fix return value of ip6_skb_dst_mtu")
Cc: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
---
include/net/ip6_route.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 625a38ccb5d9..0bf09a9bca4e 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -265,7 +265,7 @@ int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
static inline unsigned int ip6_skb_dst_mtu(struct sk_buff *skb)
{
- int mtu;
+ unsigned int mtu;
struct ipv6_pinfo *np = skb->sk && !dev_recursion_level() ?
inet6_sk(skb->sk) : NULL;
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] net: ipv6: fix returned variable type in ip6_skb_dst_mtu
2021-08-03 10:00 [PATCH net] net: ipv6: fix returned variable type in ip6_skb_dst_mtu Antoine Tenart
@ 2021-08-03 12:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-08-03 12:00 UTC (permalink / raw)
To: Antoine Tenart; +Cc: davem, kuba, netdev, vfedorenko
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 3 Aug 2021 12:00:16 +0200 you wrote:
> The patch fixing the returned value of ip6_skb_dst_mtu (int -> unsigned
> int) was rebased between its initial review and the version applied. In
> the meantime fade56410c22 was applied, which added a new variable (int)
> used as the returned value. This lead to a mismatch between the function
> prototype and the variable used as the return value.
>
> Fixes: 40fc3054b458 ("net: ipv6: fix return value of ip6_skb_dst_mtu")
> Cc: Vadim Fedorenko <vfedorenko@novek.ru>
> Signed-off-by: Antoine Tenart <atenart@kernel.org>
>
> [...]
Here is the summary with links:
- [net] net: ipv6: fix returned variable type in ip6_skb_dst_mtu
https://git.kernel.org/netdev/net/c/4039146777a9
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-08-03 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 10:00 [PATCH net] net: ipv6: fix returned variable type in ip6_skb_dst_mtu Antoine Tenart
2021-08-03 12:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).