diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
| -rw-r--r-- | net/ipv6/ip6_output.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 980912ed7a3..99157b4cd56 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -637,7 +637,7 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))  	}  	mtu -= hlen + sizeof(struct frag_hdr); -	if (skb_has_frags(skb)) { +	if (skb_has_frag_list(skb)) {  		int first_len = skb_pagelen(skb);  		struct sk_buff *frag2; @@ -878,8 +878,8 @@ static inline int ip6_rt_check(struct rt6key *rt_key,  			       struct in6_addr *fl_addr,  			       struct in6_addr *addr_cache)  { -	return ((rt_key->plen != 128 || !ipv6_addr_equal(fl_addr, &rt_key->addr)) && -		(addr_cache == NULL || !ipv6_addr_equal(fl_addr, addr_cache))); +	return (rt_key->plen != 128 || !ipv6_addr_equal(fl_addr, &rt_key->addr)) && +		(addr_cache == NULL || !ipv6_addr_equal(fl_addr, addr_cache));  }  static struct dst_entry *ip6_sk_dst_check(struct sock *sk,  |