aboutsummaryrefslogtreecommitdiffstats
path: root/net/mptcp/options.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2021-08-24 23:26:18 +0000
committerDavid S. Miller <[email protected]>2021-08-25 10:02:35 +0000
commiteb7f33654dc146aeb1ff245dae6e48b759dd8985 (patch)
tree9cb7a3f593388448bc9420b1856c2c5f96e374e2 /net/mptcp/options.c
parentmptcp: send out MP_FAIL when data checksum fails (diff)
downloadkernel-eb7f33654dc146aeb1ff245dae6e48b759dd8985.tar.gz
kernel-eb7f33654dc146aeb1ff245dae6e48b759dd8985.zip
mptcp: add the mibs for MP_FAIL
This patch added the mibs for MP_FAIL: MPTCP_MIB_MPFAILTX and MPTCP_MIB_MPFAILRX. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/mptcp/options.c')
-rw-r--r--net/mptcp/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index fa287a49dc84..bec3ed82e253 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -1158,6 +1158,7 @@ bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb)
if (mp_opt.mp_fail) {
mptcp_pm_mp_fail_received(sk, mp_opt.fail_seq);
+ MPTCP_INC_STATS(sock_net(sk), MPTCP_MIB_MPFAILRX);
mp_opt.mp_fail = 0;
}