提交 42ae66c8 编写于 作者: D David S. Miller

ipv6: Fix types of ip6_update_pmtu().

The mtu should be a __be32, not the mark.
Reported-by: NNeal Cardwell <ncardwell@google.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册