diff options
| author | Paolo Abeni <[email protected]> | 2020-11-16 09:48:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-16 18:46:06 +0000 |
| commit | f0e6a4cf11f16425ccdc69f4410e4fe59719a9ea (patch) | |
| tree | de46cde01058ec49c5081bc05a0f388ac993d95d /net/mptcp/protocol.c | |
| parent | mptcp: reduce the arguments of mptcp_sendmsg_frag (diff) | |
| download | kernel-f0e6a4cf11f16425ccdc69f4410e4fe59719a9ea.tar.gz kernel-f0e6a4cf11f16425ccdc69f4410e4fe59719a9ea.zip | |
mptcp: add accounting for pending data
Preparation patch to track the data pending in the msk
write queue. No functional change introduced here
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.c')
| -rw-r--r-- | net/mptcp/protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 4ed9b1cc3b1e..40c4227ae9fe 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -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; |
