diff --git a/net/mptcp/mptcp_ctrl.c b/net/mptcp/mptcp_ctrl.c index 51eb6387490ef..adf6dc1613f2c 100644 --- a/net/mptcp/mptcp_ctrl.c +++ b/net/mptcp/mptcp_ctrl.c @@ -1369,8 +1369,6 @@ int mptcp_add_sock(struct sock *meta_sk, struct sock *sk, u8 loc_id, u8 rem_id, tp->mptcp->attached = 1; mpcb->cnt_subflows++; - atomic_add(atomic_read(&((struct sock *)tp)->sk_rmem_alloc), - &meta_sk->sk_rmem_alloc); mptcp_sub_inherit_sockopts(meta_sk, sk); INIT_DELAYED_WORK(&tp->mptcp->work, mptcp_sub_close_wq);