Commit 42ae66c8 authored by David S. Miller's avatar David S. Miller

ipv6: Fix types of ip6_update_pmtu().

The mtu should be a __be32, not the mark.
Reported-by: default avatarNeal Cardwell <ncardwell@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e52b33b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment