aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/tcp_ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 4cf55ae7bf8..554d5999abc 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)
1055 struct tcp_sock *tp = tcp_sk(sk); 1055 struct tcp_sock *tp = tcp_sk(sk);
1056 __u32 isn = TCP_SKB_CB(skb)->when; 1056 __u32 isn = TCP_SKB_CB(skb)->when;
1057 struct dst_entry *dst = NULL; 1057 struct dst_entry *dst = NULL;
1058 int want_cookie = 0; 1058 bool want_cookie = false;
1059 1059
1060 if (skb->protocol == htons(ETH_P_IP)) 1060 if (skb->protocol == htons(ETH_P_IP))
1061 return tcp_v4_conn_request(sk, skb); 1061 return tcp_v4_conn_request(sk, skb);
@@ -1116,7 +1116,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb)
1116 while (l-- > 0) 1116 while (l-- > 0)
1117 *c++ ^= *hash_location++; 1117 *c++ ^= *hash_location++;
1118 1118
1119 want_cookie = 0; /* not our kind of cookie */ 1119 want_cookie = false; /* not our kind of cookie */
1120 tmp_ext.cookie_out_never = 0; /* false */ 1120 tmp_ext.cookie_out_never = 0; /* false */
1121 tmp_ext.cookie_plus = tmp_opt.cookie_plus; 1121 tmp_ext.cookie_plus = tmp_opt.cookie_plus;
1122 } else if (!tp->rx_opt.cookie_in_always) { 1122 } else if (!tp->rx_opt.cookie_in_always) {