X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fipv4%2Fsyncookies.c;h=b05c96e7af8b810a62bb07d95436eea07c651008;hb=05a88a43604abb816dfbff075bb114224641793b;hp=397e0f69435fd1b1b4b3775cadc409d67ea63332;hpb=151173e8ce9b95bbbbd7eedb9035cfaffbdb7cb2;p=~andy%2Flinux diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index 397e0f69435..b05c96e7af8 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c @@ -267,7 +267,6 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, struct ip_options *opt) { struct tcp_options_received tcp_opt; - const u8 *hash_location; struct inet_request_sock *ireq; struct tcp_request_sock *treq; struct tcp_sock *tp = tcp_sk(sk); @@ -294,7 +293,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, /* check for timestamp cookie support */ memset(&tcp_opt, 0, sizeof(tcp_opt)); - tcp_parse_options(skb, &tcp_opt, &hash_location, 0, NULL); + tcp_parse_options(skb, &tcp_opt, 0, NULL); if (!cookie_check_timestamp(&tcp_opt, sock_net(sk), &ecn_ok)) goto out;