hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/ipv4/syncookies.c
....@@ -290,12 +290,11 @@
290290 struct tcp_request_sock *treq;
291291 struct request_sock *req;
292292
293
-#ifdef CONFIG_MPTCP
294293 if (sk_is_mptcp(sk))
295
- ops = &mptcp_subflow_request_sock_ops;
296
-#endif
294
+ req = mptcp_subflow_reqsk_alloc(ops, sk, false);
295
+ else
296
+ req = inet_reqsk_alloc(ops, sk, false);
297297
298
- req = inet_reqsk_alloc(ops, sk, false);
299298 if (!req)
300299 return NULL;
301300