summaryrefslogtreecommitdiffstats
path: root/net/mptcp
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2020-06-22 19:45:58 +0800
committerDavid S. Miller <davem@davemloft.net>2020-06-22 21:06:39 -0700
commitb562f58bbc12444219b74a5d6524977a3d87a022 (patch)
tree4c58068e8f3c07be6662375db762e725d8a6b21d /net/mptcp
parent21a739c64d3e9871186483a0cc3e7b52638c3d59 (diff)
downloadlinux-b562f58bbc12444219b74a5d6524977a3d87a022.tar.gz
linux-b562f58bbc12444219b74a5d6524977a3d87a022.tar.bz2
linux-b562f58bbc12444219b74a5d6524977a3d87a022.zip
mptcp: drop sndr_key in mptcp_syn_options
In RFC 8684, we don't need to send sndr_key in SYN package anymore, so drop it. Fixes: cc7972ea1932 ("mptcp: parse and emit MP_CAPABLE option according to v1 spec") Signed-off-by: Geliang Tang <geliangtang@gmail.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp')
-rw-r--r--net/mptcp/options.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index 490b92534afc..df9a51425c6f 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -336,9 +336,7 @@ bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
*/
subflow->snd_isn = TCP_SKB_CB(skb)->end_seq;
if (subflow->request_mptcp) {
- pr_debug("local_key=%llu", subflow->local_key);
opts->suboptions = OPTION_MPTCP_MPC_SYN;
- opts->sndr_key = subflow->local_key;
*size = TCPOLEN_MPTCP_MPC_SYN;
return true;
} else if (subflow->request_join) {