Skip to content

Commit b562f58

Browse files
geliangtangdavem330
authored andcommitted
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: cc7972e ("mptcp: parse and emit MP_CAPABLE option according to v1 spec") Signed-off-by: Geliang Tang <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 21a739c commit b562f58

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/mptcp/options.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
336336
*/
337337
subflow->snd_isn = TCP_SKB_CB(skb)->end_seq;
338338
if (subflow->request_mptcp) {
339-
pr_debug("local_key=%llu", subflow->local_key);
340339
opts->suboptions = OPTION_MPTCP_MPC_SYN;
341-
opts->sndr_key = subflow->local_key;
342340
*size = TCPOLEN_MPTCP_MPC_SYN;
343341
return true;
344342
} else if (subflow->request_join) {

0 commit comments

Comments
 (0)