diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 269b76093288..6293cb91ed1d 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -556,8 +556,8 @@ out: | |||
556 | 556 | ||
557 | } | 557 | } |
558 | 558 | ||
559 | struct rt6_info *rt6_lookup(struct net *net, struct in6_addr *daddr, | 559 | struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, |
560 | struct in6_addr *saddr, int oif, int strict) | 560 | const struct in6_addr *saddr, int oif, int strict) |
561 | { | 561 | { |
562 | struct flowi fl = { | 562 | struct flowi fl = { |
563 | .oif = oif, | 563 | .oif = oif, |
@@ -925,7 +925,7 @@ static DEFINE_SPINLOCK(icmp6_dst_lock); | |||
925 | 925 | ||
926 | struct dst_entry *icmp6_dst_alloc(struct net_device *dev, | 926 | struct dst_entry *icmp6_dst_alloc(struct net_device *dev, |
927 | struct neighbour *neigh, | 927 | struct neighbour *neigh, |
928 | struct in6_addr *addr) | 928 | const struct in6_addr *addr) |
929 | { | 929 | { |
930 | struct rt6_info *rt; | 930 | struct rt6_info *rt; |
931 | struct inet6_dev *idev = in6_dev_get(dev); | 931 | struct inet6_dev *idev = in6_dev_get(dev); |