]> git.baikalelectronics.ru Git - kernel.git/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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 11:56:17 +0000 (12:56 +0100)
commiteea90623f544dff9576bbe7cbb94911b9f8dd5a4
tree1a1b0269373161e69b394b8737b646b1ab4f52a4
parent6347f10e42e46608ebad048f3d028e9888aed922
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 15f3edd4136f 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: 4ccbeeeb1075 ("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>
include/net/ip6_route.h