projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mptcp: relax check on MPC passive fallback
[platform/kernel/linux-starfive.git]
/
net
/
mptcp
/
subflow.c
diff --git
a/net/mptcp/subflow.c
b/net/mptcp/subflow.c
index
70b7a47
..
d3c5ecf
100644
(file)
--- a/
net/mptcp/subflow.c
+++ b/
net/mptcp/subflow.c
@@
-783,7
+783,8
@@
static struct sock *subflow_syn_recv_sock(const struct sock *sk,
* options.
*/
mptcp_get_options(skb, &mp_opt);
- if (!(mp_opt.suboptions & OPTION_MPTCP_MPC_ACK))
+ if (!(mp_opt.suboptions &
+ (OPTION_MPTCP_MPC_SYN | OPTION_MPTCP_MPC_ACK)))
fallback = true;
} else if (subflow_req->mp_join) {