diff --git a/net/mptcp/mptcp_ctrl.c b/net/mptcp/mptcp_ctrl.c index 3311faec8874f..ddc48be99dfe7 100644 --- a/net/mptcp/mptcp_ctrl.c +++ b/net/mptcp/mptcp_ctrl.c @@ -1270,6 +1270,10 @@ static int mptcp_alloc_mpcb(struct sock *meta_sk, __u64 remote_key, INIT_LIST_HEAD(&master_tp->tsorted_sent_queue); master_sk->sk_tsq_flags = 0; + /* icsk_bind_hash inherited from the meta, but it will be properly set in + * mptcp_create_master_sk. Same operation is done in inet_csk_clone_lock. + */ + inet_csk(master_sk)->icsk_bind_hash = NULL; mutex_init(&mpcb->mpcb_mutex);