]> git.itanic.dy.fi Git - linux-stable/commit
net: ipv6: fix returned variable type in ip6_skb_dst_mtu
authorAntoine Tenart <atenart@kernel.org>
Tue, 3 Aug 2021 10:00:16 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Aug 2021 11:20:57 +0000 (13:20 +0200)
commitb1fa6747b9d07f49039240b23fbff34427428013
tree6bdf16ea597aa9ebd80f607b5a5b718c9f7f7ded
parent3e63b566d96ac4abd2dd58a89dd2f618c3322696
net: ipv6: fix returned variable type in ip6_skb_dst_mtu

[ Upstream commit 4039146777a91e1576da2bf38e0d8a1061a1ae47 ]

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/ip6_route.h