From: Paolo Abeni <[email protected]>
Date: Wed, 29 Apr 2020 12:41:45 +0200
> @@ -222,6 +222,7 @@ static void subflow_finish_connect(struct sock *sk, const
> struct sk_buff *skb)
> {
> struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(sk);
> struct sock *parent = subflow->conn;
> + struct tcp_sock *tp = tcp_sk(sk);
Since you introduce this 'tp' variable...
> + } else if (subflow->request_mptcp) {
> + tcp_sk(sk)->is_mptcp = 0;
Please use it here.
> + }
> +
> + if (!tcp_sk(sk)->is_mptcp)
> return;
And here.
Thank you.