diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-01-08 16:48:01 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-09 18:18:44 -0800 |
commit | 0be2ac287bcc8a5b60d7c9ab11892a774052d269 (patch) | |
tree | bb1de506160dd06bb0c95f3935bedeb55c69b590 /net/mptcp/options.c | |
parent | 6e8b244a3e9d989f8356c77211b678c106f23a27 (diff) | |
download | linux-0be2ac287bcc8a5b60d7c9ab11892a774052d269.tar.gz linux-0be2ac287bcc8a5b60d7c9ab11892a774052d269.tar.bz2 linux-0be2ac287bcc8a5b60d7c9ab11892a774052d269.zip |
mptcp: add the mibs for MP_PRIO
This patch added the mibs for MP_PRIO, MPTCP_MIB_MPPRIOTX for transmitting
of the MP_PRIO suboption, and MPTCP_MIB_MPPRIORX for receiving of it.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/options.c')
-rw-r--r-- | net/mptcp/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c index adfa96dd991c..c9643344a8d7 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -1034,6 +1034,7 @@ void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb) if (mp_opt.mp_prio) { mptcp_pm_mp_prio_received(sk, mp_opt.backup); + MPTCP_INC_STATS(sock_net(sk), MPTCP_MIB_MPPRIORX); mp_opt.mp_prio = 0; } |