From: David S. Miller Date: Sat, 16 Jun 2012 03:01:57 +0000 (-0700) Subject: ipv6: Fix types of ip6_update_pmtu(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42ae66c80d94645e8f74080c7f344596d6f19cd5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ipv6: Fix types of ip6_update_pmtu(). The mtu should be a __be32, not the mark. Reported-by: Neal Cardwell Signed-off-by: David S. Miller --- diff --git a/net/ipv6/route.c b/net/ipv6/route.c index c7ccc36ba63e..1c279fe2c9b4 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1065,8 +1065,8 @@ static void ip6_rt_update_pmtu(struct dst_entry *dst, u32 mtu) } } -void ip6_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, - int oif, __be32 mark) +void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, + int oif, u32 mark) { const struct ipv6hdr *iph = (struct ipv6hdr *) skb->data; struct dst_entry *dst;