diff options
Diffstat (limited to 'net/ipv6')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 4cf55ae7bf80..554d5999abc4 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1055,7 +1055,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb)  	struct tcp_sock *tp = tcp_sk(sk);  	__u32 isn = TCP_SKB_CB(skb)->when;  	struct dst_entry *dst = NULL; -	int want_cookie = 0; +	bool want_cookie = false;  	if (skb->protocol == htons(ETH_P_IP))  		return tcp_v4_conn_request(sk, skb); @@ -1116,7 +1116,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb)  		while (l-- > 0)  			*c++ ^= *hash_location++; -		want_cookie = 0;	/* not our kind of cookie */ +		want_cookie = false;	/* not our kind of cookie */  		tmp_ext.cookie_out_never = 0; /* false */  		tmp_ext.cookie_plus = tmp_opt.cookie_plus;  	} else if (!tp->rx_opt.cookie_in_always) { | 
