13 #include <linux/dccp.h>
15 #include <linux/kernel.h>
29 .sysctl_max_tw_buckets =
NR_FILE * 2,
34 (
unsigned long)&dccp_death_row),
41 (
unsigned long)&dccp_death_row),
56 #if IS_ENABLED(CONFIG_IPV6)
62 tw6 = inet6_twsk((
struct sock *)tw);
87 DCCP_WARN(
"time wait bucket table overflow\n");
108 struct dccp_sock *newdp = dccp_sk(newsk);
194 "dreq_iss=%llu, dreq_gss=%llu\n",
197 (
unsigned long long) dreq->
dreq_iss,
198 (
unsigned long long) dreq->
dreq_gss);
205 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req,
NULL);
207 goto listen_overflow;
209 inet_csk_reqsk_queue_unlink(sk, req, prev);
210 inet_csk_reqsk_queue_removed(sk, req);
211 inet_csk_reqsk_queue_add(sk, req, child);
219 req->
rsk_ops->send_reset(sk, skb);
221 inet_csk_reqsk_queue_drop(sk, req, prev);
236 const int state = child->sk_state;
250 __sk_add_backlog(child, skb);
263 DCCP_BUG(
"DCCP-ACK packets are never sent in LISTEN/RESPOND state");
275 inet_rsk(req)->acked = 0;