summaryrefslogtreecommitdiffstats
path: root/net/mptcp/mib.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@xiaomi.com>2021-08-24 16:26:18 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-25 11:02:35 +0100
commiteb7f33654dc146aeb1ff245dae6e48b759dd8985 (patch)
tree9cb7a3f593388448bc9420b1856c2c5f96e374e2 /net/mptcp/mib.c
parent478d770008b03ed9d74bdc8add2315b7fd124ecc (diff)
downloadlinux-eb7f33654dc146aeb1ff245dae6e48b759dd8985.tar.gz
linux-eb7f33654dc146aeb1ff245dae6e48b759dd8985.tar.bz2
linux-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 <geliangtang@xiaomi.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/mib.c')
-rw-r--r--net/mptcp/mib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mptcp/mib.c b/net/mptcp/mib.c
index 3a7c4e7b2d79..b21ff9be04c6 100644
--- a/net/mptcp/mib.c
+++ b/net/mptcp/mib.c
@@ -44,6 +44,8 @@ static const struct snmp_mib mptcp_snmp_list[] = {
SNMP_MIB_ITEM("RmSubflow", MPTCP_MIB_RMSUBFLOW),
SNMP_MIB_ITEM("MPPrioTx", MPTCP_MIB_MPPRIOTX),
SNMP_MIB_ITEM("MPPrioRx", MPTCP_MIB_MPPRIORX),
+ SNMP_MIB_ITEM("MPFailTx", MPTCP_MIB_MPFAILTX),
+ SNMP_MIB_ITEM("MPFailRx", MPTCP_MIB_MPFAILRX),
SNMP_MIB_ITEM("RcvPruned", MPTCP_MIB_RCVPRUNED),
SNMP_MIB_ITEM("SubflowStale", MPTCP_MIB_SUBFLOWSTALE),
SNMP_MIB_ITEM("SubflowRecover", MPTCP_MIB_SUBFLOWRECOVER),