[NET]: Introduce inet_connection_sock
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / syncookies.c
index 72d014442185fcb1d29ee855b17da26a5bb82988..8692cb9d4bdb01b04c3bdf07bceb2300b5516db9 100644 (file)
@@ -180,7 +180,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);