X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fsyncookies.c;h=a34e60ea48a15f3b33a0531a4d5cc260a9e62f17;hb=5170dbebbb2e9159cdf6bbf35e5d79cd7009799a;hp=72d014442185fcb1d29ee855b17da26a5bb82988;hpb=54522b6613a03807f057fd567794a31267ef85cb;p=linux-2.6 diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index 72d0144421..a34e60ea48 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c @@ -169,8 +169,6 @@ static inline int cookie_check(struct sk_buff *skb, __u32 cookie) return mssind < NUM_MSS ? msstab[mssind] + 1 : 0; } -extern struct request_sock_ops tcp_request_sock_ops; - static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst) @@ -180,7 +178,7 @@ static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb, child = tp->af_specific->syn_recv_sock(sk, skb, req, dst); if (child) - tcp_acceptq_queue(sk, req, child); + inet_csk_reqsk_queue_add(sk, req, child); else reqsk_free(req);