net: ipv6: fix returned variable type in ip6_skb_dst_mtu
Subsystems (3)
PATCH 1/1 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
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.
--- include/net/ip6_route.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/ip6_route.h +1 -1
@@ -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 ;
Signature · 1 line
2.31.1
This patch was applied to netdev/net.git (refs/heads/master):
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
Quoted 11 lines · 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 meantimefade56410c22was 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 <[email protected]>Signed-off-by Antoine Tenart <[email protected]>[...]
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