diff options
author | Paolo Abeni <[email protected]> | 2023-10-23 13:44:35 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-25 12:23:34 -0700 |
commit | bf0e96108fb6707613dd055aff5e98b02b99bb14 (patch) | |
tree | f05ccff94e46e02aca5bc350fa0e485cd2daf536 | |
parent | d866ae9aaa4325f1097e8b7a50f202348ca89b87 (diff) |
mptcp: properly account fastopen data
Currently the socket level counter aggregating the received data
does not take in account the data received via fastopen.
Address the issue updating the counter as required.
Fixes: 38967f424b5b ("mptcp: track some aggregate data counters")
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r-- | net/mptcp/fastopen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/fastopen.c b/net/mptcp/fastopen.c index bceaab8dd8e4..74698582a285 100644 --- a/net/mptcp/fastopen.c +++ b/net/mptcp/fastopen.c @@ -52,6 +52,7 @@ void mptcp_fastopen_subflow_synack_set_params(struct mptcp_subflow_context *subf mptcp_set_owner_r(skb, sk); __skb_queue_tail(&sk->sk_receive_queue, skb); + mptcp_sk(sk)->bytes_received += skb->len; sk->sk_data_ready(sk); |