mptcp: add accounting for pending data
[linux-2.6-microblaze.git] / net / mptcp / protocol.c
index 4ed9b1c..40c4227 100644 (file)
@@ -1859,6 +1859,7 @@ static int __mptcp_init_sock(struct sock *sk)
        __set_bit(MPTCP_SEND_SPACE, &msk->flags);
        INIT_WORK(&msk->work, mptcp_worker);
        msk->out_of_order_queue = RB_ROOT;
+       msk->first_pending = NULL;
 
        msk->first = NULL;
        inet_csk(sk)->icsk_sync_mss = mptcp_sync_mss;