hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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