diff options
| author | 2021-04-16 17:10:40 -0700 | |
|---|---|---|
| committer | 2021-04-16 17:10:40 -0700 | |
| commit | 474f459360399c5becfd0f189a8894e9e17ad3d3 (patch) | |
| tree | 4ac2215add7c9db2a6b0ffcb02f1d63481c82b7b /net/mptcp/options.c | |
| parent | Merge branch 'enetc-xdp-fixes' (diff) | |
| parent | mptcp: use mptcp_for_each_subflow in mptcp_close (diff) | |
| download | linux-dev-474f459360399c5becfd0f189a8894e9e17ad3d3.tar.xz linux-dev-474f459360399c5becfd0f189a8894e9e17ad3d3.zip | |
Merge branch 'mptcp-fixes-and-tracepoints'
Mat Martineau says:
====================
mptcp: Fixes and tracepoints from the mptcp tree
Here's one more batch of changes that we've tested out in the MPTCP tree.
Patch 1 makes the MPTCP KUnit config symbol more consistent with other
subsystems.
Patch 2 fixes a couple of format specifiers in pr_debug()s
Patches 3-7 add four helpful tracepoints for MPTCP.
Patch 8 is a one-line refactor to use an available helper macro.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/options.c')
| -rw-r--r-- | net/mptcp/options.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/net/mptcp/options.c b/net/mptcp/options.c index d51c3ad54d9a..99fc21406168 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -13,6 +13,8 @@  #include "protocol.h"  #include "mib.h" +#include <trace/events/mptcp.h> +  static bool mptcp_cap_flag_sha256(u8 flags)  {  	return (flags & MPTCP_CAP_FLAG_MASK) == MPTCP_CAP_HMAC_SHA256; @@ -943,6 +945,10 @@ static void ack_update_msk(struct mptcp_sock *msk,  		__mptcp_data_acked(sk);  	}  	mptcp_data_unlock(sk); + +	trace_ack_update_msk(mp_opt->data_ack, +			     old_snd_una, new_snd_una, +			     new_wnd_end, msk->wnd_end);  }  bool mptcp_update_rcv_data_fin(struct mptcp_sock *msk, u64 data_fin_seq, bool use_64bit) | 
