hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
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