aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r--net/ipv6/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 1838927a2243..efbbbce68f9e 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -870,8 +870,8 @@ static inline int ip6_rt_check(struct rt6key *rt_key,
870 struct in6_addr *fl_addr, 870 struct in6_addr *fl_addr,
871 struct in6_addr *addr_cache) 871 struct in6_addr *addr_cache)
872{ 872{
873 return ((rt_key->plen != 128 || !ipv6_addr_equal(fl_addr, &rt_key->addr)) && 873 return (rt_key->plen != 128 || !ipv6_addr_equal(fl_addr, &rt_key->addr)) &&
874 (addr_cache == NULL || !ipv6_addr_equal(fl_addr, addr_cache))); 874 (addr_cache == NULL || !ipv6_addr_equal(fl_addr, addr_cache));
875} 875}
876 876
877static struct dst_entry *ip6_sk_dst_check(struct sock *sk, 877static struct dst_entry *ip6_sk_dst_check(struct sock *sk,