aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-06-15 23:01:57 -0400
committerDavid S. Miller <davem@davemloft.net>2012-06-15 23:01:57 -0400
commit42ae66c80d94645e8f74080c7f344596d6f19cd5 (patch)
treea60af9f1e0fe532bd4404ecb301830ffb378db56 /net/ipv6/route.c
parent7e52b33bd50faa866bc3e6e97e68438bc5e52251 (diff)
ipv6: Fix types of ip6_update_pmtu().
The mtu should be a __be32, not the mark. Reported-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c4
1 files changed, 2 insertions, 2 deletions
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)
1065 } 1065 }
1066} 1066}
1067 1067
1068void ip6_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, 1068void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu,
1069 int oif, __be32 mark) 1069 int oif, u32 mark)
1070{ 1070{
1071 const struct ipv6hdr *iph = (struct ipv6hdr *) skb->data; 1071 const struct ipv6hdr *iph = (struct ipv6hdr *) skb->data;
1072 struct dst_entry *dst; 1072 struct dst_entry *dst;